ID:266865
 
make certain commands not work in certain areas... like if I wanted to make safe zones and stuff like that how would I do it?
(like with your attack verbs)
var/area/safe/S = locate(M.loc)
if(S!=null)
usr << "They are in a safe zone!"
return 0
else
S = locate(src.loc)
if(S!=null)
usr << "You are in a safe zone!"
return 0
else
//the rest of your attack code goes here.