var
GMlist[0]
proc/GMlistadd(key as text) //Used to add a GM to the list
var/ckey=ckey(key)
if (!GMlist.Find(ckey))
GMlist.Add(ckey)
client/New()
..()
if (GMlist.Find(ckey))
usr.GMLevel = null
usr.AddStaffVerbs()
world/New()
..()
var/savefile/S=new("GMlists.sav")
S["GM"] >> GMlist
if (!length(GMlist)) GMlist=list()
world/Del()
var/savefile/S=new("GMlists.sav")
S["GM"] << GMlist
..()
Problem description:
Ok. so i add a GM to the list and use a GM verb to check and see if its on the GMlist... it is. i log out and back in hoping the code will work. and what do u know. it created the save but for some reason it isnt adding anything to the GMlist. Am i missing something?