if (istype(M,/mob/player))
switch(alert("Are you sure you want to challenge [M]?","Arena Challenge","Yes","No"))
if("Yes")
usr.challenge = 1
M.challenged = 1
for(M)
switch(alert("[usr] is challenging you, do you want to accept?","Arena Challenge","Yes","No"))
if("Yes")
M.loc = locate(291,37,1)
M.arena = 1
M.challenged = 0
usr.loc=locate(284,37,1)
usr.challenge = 0
usr.arena = 1
This is a simple problem I think, when I challenge someone, the alert comes to me, while it should go to the mob. Help please
stuff like that...