ID:266695
 
Would I use M.loc?
Basically.

<code>if(isturf(src.loc))</code>, or something to that effect should do it.

Or, if you just want to check whether or not the mob's location is null, you could use <code>if(!src.loc)</code>
Clarify please. Are you asking to check what turf a mob is on or are you asking how to check if a mob is on any turf at all?
In response to Garthor
Nevermind I've got it thanks for the help though