ID:145283
 
Code:Summon Auror
    MinisterOfMagic/verb
SummonAuror()
set category="Minister of Magic"
if(src.key in Auror)
spawn(11)
m<<"<font color=gray><B>GM: </B>You have been summoned by [usr.name]</font>"
usr<<"<font color=gray><B>GM: </B>You have summoned [m.name]</font>"
m.loc=usr.loc


Problem description:
System\Admin.dm:703:error:m:undefined var
System\Admin.dm:704:error:m.name:undefined var
System\Admin.dm:705:error:m.loc:undefined var
System\Admin.dm:701:if :warning: if statement has no effect

now you see where the problems are?
can you tell me how i would go about fixing them?

oh and if your wondering where the 'mob' is, it is on the verb set above it.


mob/verb/Summon(var/mob/M in Auror)
sleep(11)
M<<"<font color=gray><B>GM: </B>You have been summoned by [usr.name]</font>"
usr<<"<font color=gray><B>GM: </B>You have summoned [M.name]</font>"
M.loc=usr.loc