ID:177364
 
Solved the problems with my vars
I rewrote all the code
:P
Now I still have a question...
Where can I place the verbs that no one would be able to use them until he called one specific procedure?
Like a common verb like

verb
kick

that can only be accessed if, and only if, the char learned how to kick throught a specific proc like

proc
Learn(kick)

The problem is not to add or subtract the verb. The problem is to make it unacessible until the proc is called. If I don't place it under /mob, it won't find the vars needed. And if I place, the char will have it ever

May someone help me?
Regards
Leandro
You could do it easily with an obj like this:

Obj
Learn_Kick()
verb
Kick()
usr << "You kick your opponent.

Or if you're looking for a proc:

mob
Teacher
icon='icon.dmi'
icon_state="icon_state"
verb
Learn()
usr << "You learn to kick!"
Kick_Learn()

proc/Kick_Learn()
usr.verbs += Kick()

mob
verb
Kick()
usr << "You kick your opponent!"

Untested but should work.

::DBHavenMaster::
In response to DBHavenMaster
That won't work because adding Kick() does nothing except cause an error, if you want to add something to the verbs list it has to be a type path:

mob
teacher

verb

learn()

set src in oview(1)

usr.verbs += /mob/proc/kick

proc

kick()

src << "You kick wildly into the air!"


In response to Nadrew
AHH! *smacks self* He He can't believe I made such a lame mistake. Damn...

::DBHavenMaster::