ID:175579
 
I know there was a demo/libary on how to allow verbs ONLY on certain turfs, but i can't find it. Can sum1 either give me and example of a verb on a turf, or the name of that demo/libary.

Please?
turf
verb
Blah()
set src in oview(0) //Change 0 to whatever range you want to have to be in to access Blah().
In response to Garthor
thx
In response to Garthor
erm...because I am a REAL newb, i can't get it too work..
-_-'
could any1 tell me the name of the demo, or give a REALLY newb friendly explenation (I AM REALLY THICK)
In response to Gokuss4neo
Give verb to turf. Put set src in oview(n) in first line. Change n to range that verb accesible in. Ungh.
What do you mean "only on certain turfs"? Do you mean that you only want the player to be able to use certain verbs if they're on a certain type of turf, or do you actually want the verb attached to the turf itself (like Garthor posted)?
In response to Garthor
garthor, please use (< d m >)put the cding here(< / d m >)

but without the spaces
it would look like this:
turf
verb
Blah()
set src in oview(0) //Change 0 to whatever range you want to have to be in to access Blah().


=D wolf01

atleast try it..
In response to Wolf01
I know how to use the <DM> and </DM> tags, I just am too lazy to put it around 3 lines of code.