Author Topic:  Zone\history names with vars  (Read 83 times)

0 Members and 1 Guest are viewing this topic.

Lord Leo

  • Legendary Member
  • *****
  • Posts: 1157
  • Aka Cat
  • Awards 2 years on site 1 year on site
    • View Profile
    • Awards
  • Xbox: Circle cat113
Zone\history names with vars
« on: March 31, 2018, 06:04:03 PM »
Made a script to create zones on the swing of a staff using a var, didn't work, made a post about it, turns out you cant do it due to ram. I believe you should be able to do it. If it lags, then the person who uses the script shouldnt use the script. this would make zoning homes/plots a lot easier.

More reasons why:
naming histories with vars could add a ton of more things, ie adding a password to a clan:
(cc = 1)
Clan[[var:cc]]
input[password]
history[[var:cc]] [password]
this would simply add a way to look for vars with ids, sooo you could set a var based on a gamertag ie:

history[Prison\[gamertag]] [1]
if
history[Prison\[gamertag]] [=] [1]
then
kick

although player history would be a way to do it, you would be able to see whos in prison even if they're offline
another example:
basically data structures?
(event when join)
if
history[Players\[gamertag]\joined] [=] [1]
then
exit
else
history[Players\[gamertag]\goldpieces] [=] [500]
history[Players\[gamertag]\xp] [=] [1]
//this would allow you to see everyones histories even when they're offline.

« Last Edit: April 03, 2018, 01:39:43 AM by Lord Leo »