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


Joined: 06 May 2003
Posts: 17
Location: USA

PostPosted: Sat Feb 28, 2004 7:37 am   

Coloring prompts?
 
I want to make my prompt spiffy colors, but I'm having trouble doing it. The issue is, I'm using an if statement and while it DOES seem to work. . . Sort of, it also seems to insist doinging it after I hit enter. Like the prompt will appear on screen:
800/800Hp 111/123St 189/189Sn 109/109Mn>
And then not untill it gets scrolled up will the if statement
actually color the text.
#trigger {&Hp/*Hp &St/*St &Sn/*Sn */*Mn>} {#if (@Sn < 25) {#cw {@Sn} red}
was used to capture the vars and an example of the if. It's kind of annoying me. I know my var capture wasn't perfect, but even so, I can't imagine that affecting the output coloring.

I'm really new at this, if you guys couldn't tell.
Reply with quote
Timas
Novice


Joined: 05 Jan 2003
Posts: 39
Location: Netherlands

PostPosted: Sat Feb 28, 2004 11:33 am   
 
In the Options tab of the trigger there's a checkbox for "Prompt" under "Trigger on", check that box and uncheck the newline one.

That aught to do it.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Feb 29, 2004 12:48 am   
 
You will have to use #PCOL instead of #CW to do what you want. Please refer to the help on both commands. If you have been using a prompt trigger with #CW, as you have it written, for a while you will find that you have many odd triggers. These should allbe deleted once you have corrected the prompt trigger.
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