|
Zen Clark Newbie
Joined: 16 Nov 2006 Posts: 2
|
Posted: Thu Nov 16, 2006 9:53 pm
Triggers in Xaos. |
Hello, I play a MUD called Xaos, and I am wanting a trigger to watch my health and other stats. Here is what the promt looks like:
100%hp 100%m 100%mv,40%tl>
I can not use any normal commands for it becouse of the percent sign. Is there any excape command I can use?
For more info on how the MUD works: telnet://xaos-mud.org:5000
Thanks. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Nov 17, 2006 12:15 am |
Yeah, you can use ~ to make ZMud treat the % as a percent sign instead of an indicator of a wildcard.
#trigger {(%d)~%hp (%d)~%m (%d)~%mv,(%d)~%tl} {stuff you want to do here} "" {nocr|prompt} |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Zen Clark Newbie
Joined: 16 Nov 2006 Posts: 2
|
Posted: Fri Nov 17, 2006 11:13 pm Thanks, but... |
I have a guage set up like this:
#VAR @maxhp 100
#GAUGE @hp @maxhp ( @maxhp/10) "" "green" "red"
And a trigger like this:
#TRIGGER {(%d)~%hp (%d)~%m (%d)~%mv,(%d)~%tl} {#VAR @hp %1}
Whats wrong? |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Nov 18, 2006 12:37 am |
Dunno, what's it doing? My guess is that you didn't create a prompt trigger, but if the gauge is not updated at all then this wouldn't be the cause.
1)open the Settings Editor
2)navigate to the prompt trigger just created
3)click on the Options tab
4)check the box marked Trigger On Prompt
5)save |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|