ID:176330
 
I want the verb to still be there if they aren't at that z level, but display a message. Is this possible? if so how would I set the if statement?
if(src.z == number here)
Jnco904 wrote:
I want the verb to still be there if they aren't at that z level, but display a message. Is this possible? if so how would I set the if statement?

mob/verb/Thing(M as mob)
set category="Things to do"
if(!src.z==1)//Change 1 to the appropriate Z levl
alert("Sorry, can't use that here")
else
usr<<"Hi Mom!" //Change that to what you want the verb to do

~Cable
In response to Cable
Thanks guys. :)