![](templates/Classic/images/spacer.gif) |
sewingsquirrel Newbie
Joined: 23 Sep 2008 Posts: 5
|
Posted: Thu Oct 23, 2008 1:31 am
#sh or #ec displays an extra blank line. Is there any way to remove this? SOLVED |
Hi,
When I use #sh or #ec in zmud, it always displays two lines, one of the text I want echoed, and one blank line. Is there any way to *just* display the text I want echoed without the blank line?
EXAMPLE:
#ec %cr %ansi( cyan)~[%ansi( brown)***Illusioned @target***%ansi( cyan)~]
will display:
[***Illusioned So and So***]
and then underneath it here will be a blank line
and then here will be the mud prompt on the third line.
What I want is just
[***Illusioned So and So***]
and then here will be the mud prompt on the second line.
Does anyone have any suggestions?
Any help in resolving this is greatly appreciated, thanks! ![Very Happy](images/smiles/icon_biggrin.gif) |
|
Last edited by sewingsquirrel on Thu Oct 23, 2008 5:00 am; edited 1 time in total |
|
|
![](templates/Classic/images/spacer.gif) |
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Thu Oct 23, 2008 3:10 am |
Well, to start with, the MUD doesn't know you've done a show/echo. That's client side only. As far as I know there isn't any way to remove the line.
|
|
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
![](templates/Classic/images/spacer.gif) |
sewingsquirrel Newbie
Joined: 23 Sep 2008 Posts: 5
|
Posted: Thu Oct 23, 2008 3:24 am |
Hrm, thanks for that information.
I don't really understand why zmud would display a blank line though. Is there any purpose for this? Is there any other command I could use to display text besides #sh or #ec that wouldn't show a blank line?
Thanks again for any help! ![Mr. Green](images/smiles/icon_mrgreen.gif) |
|
|
![](templates/Classic/images/spacer.gif) |
sewingsquirrel Newbie
Joined: 23 Sep 2008 Posts: 5
|
Posted: Thu Oct 23, 2008 5:02 am |
I found the answer looking through the zmud reference guide!
For anyone wishing to know, one can use #ECHOP instead of #EC or #SHOWP instead of #SHOW to remove that extra line.
Thanks again for helping Ralgith! |
|
|
![](templates/Classic/images/spacer.gif) |
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Thu Oct 23, 2008 2:37 pm |
You're welcome, I didn't even know about the extra echo/show commands lol
|
|
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
![](templates/Classic/images/spacer.gif) |
|
|