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
fireangel37
Beginner


Joined: 09 Jan 2004
Posts: 17

PostPosted: Tue Apr 06, 2004 5:17 am   

MPX as part of normal triggering
 
Okay, possibly a dumb question, but can MPX type triggers be used to make things clickable? Ie, I want to make clicking on my party leader's name in the MUD output cast a spell on him.

I wouldn't ask, but I know this works and is quiet handy:

#TRIGGER {({http|ftp|telnet}://%x)} {#SUBSTITUTE {~<A "%1">%1~</A>}}

What would it take to trigger off of, let's say, Bob?
Reply with quote
Kaputchnik
Beginner


Joined: 06 Jan 2002
Posts: 28
Location: Sweden

PostPosted: Tue Apr 06, 2004 1:26 pm   
 

#tr {Bob} {#sub {~<send "cast fireball at bob"~>Bob~</send~>}}

Would work.
Reply with quote
fireangel37
Beginner


Joined: 09 Jan 2004
Posts: 17

PostPosted: Tue Apr 06, 2004 3:35 pm   
 
Cool. What does it take to add a right-clickable menu of actions into the mix? Ie, I might want to "cast cure at bob" or "cast heal at bob"?

I assume it's the same type of replace thing, but what do you put inside the <>'s?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Apr 06, 2004 3:46 pm   
 
http://www.zuggsoft.com/zmud/mxp.htm
That file has a some information that might be of use but to get the most of client side MXP in an easy to understand file

#HELP MXP from your command line and read that file and the relavent links IE using MXP
Reply with quote
fireangel37
Beginner


Joined: 09 Jan 2004
Posts: 17

PostPosted: Tue Apr 06, 2004 3:48 pm   
 
Woo, those are helpful help files. Every time I'd looked for one in the past, I ended up in some convoluted files on how to set up your MUD for MXP (which I constantly transpose to MPX for some reason).

Thanks.
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