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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
boblinski
Novice


Joined: 05 Dec 2005
Posts: 49
Location: New Zealand

PostPosted: Sat Jul 20, 2019 1:18 am   

Constant Monitoring of prompt figures
 
Is there an easy way to constantly monitor my prompt variable @hitp_per and as soon as it goes below a certain point disable/enable a class?

My triggers do not seem to be working when I try triggering from my prompt.

Also when I try to add color to my prompt using triggers it's not working all the time..
Like if I try to make
"<100%hp" colored green, it doesn't seem to color it green unless the prompt shows from a mud-side event.

Sorry if I have not explained clearly.
Reply with quote
shalimar
GURU


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

PostPosted: Sat Jul 20, 2019 2:49 am   
 
This is likely an issue of how the trigger is set onNewLine or onPrompt.
Prompts prefer on prompt.

Or it could be an issue of your pattern not matching.
Show us what you got.
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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