ID:147982
 
I am now experiencing problems with one of my verbs for combat.

combat.dm:20:error:M:undefined var
combat.dm:21:error:M:undefined var
combat.dm:23:error:M.health:undefined var

mob/verb/FrontSnapKick(M/mob in oview(1))
usr << "You get ready to kick [M]!" // Error
M << "[usr] gets ready to kick you!" // Error
sleep(200)
M.health -= usr.strength // Error


I am getting those errors from the marked lines, but I can't see where the error is.
It is this line : mob/verb/FrontSnapKick(M/mob in oview(1))

It needs to be : mob/verb/FrontSnapKick(mob/M in oview(1))

~GokuSS4Neo~
In response to Gokuss4neo
Gokuss4neo wrote:
It is this line : mob/verb/FrontSnapKick(M/mob in oview(1))

It needs to be : mob/verb/FrontSnapKick(mob/M in oview(1))

~GokuSS4Neo~

Thanks for the help. That worked.