my code is
area
pvp
var
oldpvp
Entered(mob/PC/M)
oldpvp = M.pvptoggle
M.pvptoggle = 1
M.verbs -= /mob/PC/pvp/verb
M << "You are now entering a Player vs Player area"
Exited(mob/PC/M)
M.pvptoggle = oldpvp
M.verbs += /mob/PC/pvp/verb
M << "You are now leaving a Player vs Player area"
the runtime error is
runtime error: wrong type of value for list
proc name: Exited (/area/pvp/Exited)
usr: \[Master] Lazyboy (/mob/PC/male)
src: the pvp (/area/pvp)
call stack:
the pvp (/area/pvp): Exited(\[Master] Lazyboy (/mob/PC/male))
can someone plz help
/mob/PC/pvp/verb
I think it should be:
/mob/PC/verb/pvp
The first one is an undefined verb for /mob/PC/pvp, because verb is at the end.