Mobflag
mobflag - syntax: mobflag(CH,"mobflag name")
Returns true if CH has the specified mob flag set. Always false on a player.
--- Imaginary prog triggered by consider: if mobflag(self,"nodamage") then say("Don't even think about it - I'm invincible!") end