ID:149625
 
I'm not sure how to do it. I've checked everywhere.
In response to Ebonshadow
Ebon's lib is good so is Rcets Easy Movement Lib.

-Kappa the Imp
Here is my code.

mob/var/lock=0

mob/verb/Lock()
if(src.lock==0)
src.lock=1
else
src.lock=0

mob/Move()
if(src.lock==1)
return
..()
else
..()
In response to Super16
if(src.lock==1)
return
..()

What's the point of having ..() there? "return" breaks out of the proc entirely. That ..() is just wasting byte-space and compile time. =)