|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Fri Oct 24, 2003 4:57 pm
Gagging a prompt |
Hi All and thanks in advance!
Here's my problem.
I need to gag my prompt without gagging everything on that line.
Here's an example;
Hp:10027/10027 Mana:4214/4916 Move:3140/3140 <What I want not to be gagged>
It ends up leading to confusion when I gag the prompt as sometimes the MUD sends info on that line and it also gags any commands I send (They still work, but I can't see the input).
Hope that's clear.
Once again, Thanks in advance,
Tygerhart |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Oct 24, 2003 5:51 pm |
Since #GAG is a line-based command, there isn't any way to do it. If your prompt is on the same line as other info, either the entire line will be gagged including the other info or it won't be and you'll see the prompt.
If your MUD allows you to modify your prompt and includes a carriage-return token, your best bet is to put one at the end of your prompt. This will prevent the prompt from being on the same line as other info.
You might get close to what you want using #SUB to replace the entire prompt with a space or null-string.
The easiest is just to do away with the #GAG, I'm sure there are thousands of us who routinely have our prompt shown on our screen and have no difficulty at all. [^] |
|
|
|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Sat Oct 25, 2003 8:18 pm |
quote: Originally posted by LightBulb
Since #GAG is a line-based command, there isn't any way to do it. If your prompt is on the same line as other info, either the entire line will be gagged including the other info or it won't be and you'll see the prompt.
<snip>
Ok, thanks for that info. Was hoping there was a way around this prob, as the prompt is kinda spammy, and I still need the info in it for variables.
Thanks,
Tygerhart |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Sat Oct 25, 2003 10:34 pm |
Try using #SUB like LightBulb suggested.
|
|
|
|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Sun Oct 26, 2003 12:09 am |
quote: Originally posted by Kjata
Try using #SUB like LightBulb suggested.
Thanks!
Once again Lightbulb and Kjata open my eyes!
Tygerhart |
|
|
|
|
|