var
login
mob
verb
LoginSwitch()
set hidden = 1
if(GLOBAL_ADMINS.Find(src.key))
switch(alert("Change Login??",,"Open","Close"))
if("Open")
login=1
else
login=0
How would i go about changing global variables? This is not working i get the error
error:login:cannot change constant value
~>Jiskuha
If it's a variable, (not a constant,) and a pointer to it can be retrieved, you can modify it.
For a little safer version, try...