verb
Reboot()
if(src.key=="****" || "<This is being used>")
set category = "Staff"
set name = "Reboot"
world << "World Rebooting in 5 second"
sleep(10)
world << "World Rebooting in 4 second"
sleep(10)
world << "World Rebooting in 3 second"
sleep(10)
world << "World Rebooting in 2 second"
sleep(10)
world << "World Rebooting in 1 second"
world << "Rejoin here: byond://24.32.171.51:55832"
world.Reboot()
Problem description:It gives it to everyone no matter what I do, Ive put it where the quatation marks are empty and it give it to everybody, then I put my alpha testers name there and still everyone gets it. What can I do to fix this?
Change this to if(src.key in *some list*). Your problem is that a text string always is equivalent to true, and your if() statement is along the lines of "if (key is equal to this) OR (this text string)". That's always true, so everybody can use the verb. Using the "in" operator is easier and less prone to this sort of error.