|
UnderSeven Beginner
Joined: 06 May 2003 Posts: 17 Location: USA
|
Posted: 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. |
|
|
|
Timas Novice
Joined: 05 Jan 2003 Posts: 39 Location: Netherlands
|
Posted: 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. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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.
|
|
|
|
|
|