ID:179342
 
Is there anyway to make a verb show if a condition is true, like
verb
something() if(This==TRUE)
Any help or a point in the right direction would be appreciated :)
Here's one way:

mob
proc
conditioncheck()
if(condition)
src.verbs+=/mob/proc/blah
else
return..()

mob/proc/blah()
src<<"Blah!"
There is no way to hide the verb, I beleive, but you can make it just not work;

mob/verb/PlayerChat(message)
if(src.key == "dbzmoron") return
world << message
In response to Lord of Water
I know how to not make it work ^_^.... I guess I'm gonna add a post on the general board for a feature :p
In response to Dreq
There are many ways to hide a verb. Look up the verbs var in the help file for a place to start.