ID:136920
 
Is there a demo/article on how to create links in the text menu that will point to a verb. Like the pager links. I can not find that demo. :(
I think the best thing you're going to find right now is under "Topic" in the reference.
Exadv1 wrote:
Is there a demo/article on how to create links in the text menu that will point to a verb. Like the pager links. I can not find that demo. :(

I can do you one better:

Dream Tutor: What Good Is The Browser?

There's code in there demonstrating how to call code from within client.Topic() to respond to links.

By the way, another method you can use to call verbs from client.Topic() is this:
...
if("jump" in href_list)
call(mob,/mob/verb/Jump)()
return
...

Or this, which I use for verbs that are added dynamically:
...
if(mob.isadmin)
if("boot" in href_list)
usr=mob
call("Boot")(href_list["boot"])
return
...

Lummox JR