icon = 'ED.dmi'
verb
Event()
if(usr.title=="GM")
if(events==0)
var/a = input("What is The event?","a",text)
events=1
reward = input("Put how much Gold up?","m",0)
if(usr.gold>=reward)
usr.gold-=(reward)
else
return
world<<"[usr] has started the event [a]."
var/X = input("Where is The event?","x",0)
var/Y = input("Where is The event?","y",0)
var/Z = input("Where is The event?","z",0)
else
usr.loc=locate((X),(Y),(Z))
Problem description:the gm is to set the area but when i defined X,Y,Z under the gm section it says GM.dm:116:error:X:undefined var
GM.dm:116:error:Y:undefined var
GM.dm:116:error:Z:undefined var
GM.dm:112:X :warning: variable defined but not used
GM.dm:113:Y :warning: variable defined but not used
GM.dm:114:Z :warning: variable defined but not used