Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Thu Dec 07, 2006 12:47 am   

<send> command option?
 
is it possible to have the <send> command offer a choice?

#TR {(a wounded child)} {#SUB {<send 'heal child|kill child' 'good|evil'>}}

Something along those lines maybe?

I could have sworn i remember a comand which allowed something like this, but now it elludes me.
_________________
Discord: Shalimarwildcat
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Dec 07, 2006 1:36 am   
 
Yep. <send hint='mouseover hint|right-click menu stringlist' href='right-click actions stringlist'>text you see on the screen</send>

I might have the id names wrong, but they're optional anyways and detailed in the MXP spec.
_________________
EDIT: I didn't like my old signature
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Dec 07, 2006 8:33 pm   
 
Yeah, the order is <send "command stringlist" "caption stringlist"> if you don't name them.

You do need to comment out the <> characters in zMUD though, since they're special characters.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net