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
Zen Clark
Newbie


Joined: 16 Nov 2006
Posts: 2

PostPosted: 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.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Zen Clark
Newbie


Joined: 16 Nov 2006
Posts: 2

PostPosted: 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?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
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