|
fireangel37 Beginner
Joined: 09 Jan 2004 Posts: 17
|
Posted: 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? |
|
|
|
Kaputchnik Beginner
Joined: 06 Jan 2002 Posts: 28 Location: Sweden
|
Posted: Tue Apr 06, 2004 1:26 pm |
#tr {Bob} {#sub {~<send "cast fireball at bob"~>Bob~</send~>}}
Would work. |
|
|
|
fireangel37 Beginner
Joined: 09 Jan 2004 Posts: 17
|
Posted: 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? |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: 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 |
|
|
|
fireangel37 Beginner
Joined: 09 Jan 2004 Posts: 17
|
Posted: 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. |
|
|
|
|
|