ID:170527
 
i made a verb that pops in your commands when your near a npc called talk. how could i change that verb to a proc for using on the client numbers or a bump procedure...?
I dun know what ya mean, but I think you do it something like this(for a bump to talk)
mob
proc // Define a new proc
ViewDialogue() // Proc name
usr << "[src.Dialogue]" // The src(NPC's) dialogue to display to the usr.
var // Define a new variable
Dialogue="" // The variable is Dialogue, where you will store what the NPC says.
NPC1 // Make the NPC itself.
icon='NPC1.dmi' // Give it an icon
Dialogue="Hiya, im NPC1!" // Set its dialogue to what you want it to say.
Bump(atom/A) // When we bump it....
ViewDialogue() // View its dialogue which is Hiya, im NPC1! or whatever you set it too.

Please, if I am wrong, Lummox or someone correct me XD
Wait.... Client Numbers? macros you mean??? Well, to define a macro for something, you make a script. (.dms) and do this....
macro
T return "Talk"

To make the Talk verb, you do just what I told you,scept instead of a Bump, you change it to a verb and make it hidden like so:
verb
Talk()
set hidden = 1
set src in oview(1)
ViewDialogue()

Hope it helps, may Lummox, or someone else again, come and correct me. Now to make it work, you go up to an NPC, and hit T on your keyboard with macros on.

[EDIT]
I edited the Talk() verb, I left out set src in oview(1)
I also said how to make the macro work.
[/EDIT]