|
fhqwhgad Novice
Joined: 07 Feb 2005 Posts: 38
|
Posted: Mon Feb 07, 2005 3:29 pm
sending <enter> before text |
I've got this problem where zmud doesn't start a new line after my prompt before writing new text.
I have disable the echo of commands which is why instead of the command it continues with room titles and so on next to the prompt.
What i would like instead is that it breakes the line after the prompt and starts on a new one afterwards. Is it possible to make it send a newline signal (enter as an example) before whatever text you have in your input box or are there other ways to do this? |
|
|
|
TonyWhispers Newbie
Joined: 30 Jan 2005 Posts: 8
|
Posted: Mon Feb 07, 2005 4:11 pm Re: fhqwhgad |
Is it possible you can provide a copy/paste sample of your mud's prompt?
|
|
_________________ zMUD Manual Source
Preventing Dead Posts: If the Tech Support solved your problem, please state as such. Thanks. |
|
|
|
fhqwhgad Novice
Joined: 07 Feb 2005 Posts: 38
|
Posted: Mon Feb 07, 2005 5:10 pm |
Code: |
7am <680075hp Opp:None W > Vnum:95804 Area:Meeting of the Minds # [God of Torture] Flarrg the Merciless, Purveyor of *SOULS*
[ Hand of Fate ] Groo the Wanderer.....
[God of Deceit ] Elial the Obscure, Weaver of Lies.
Players found: 3. Most so far today: 4.
|
Done with a who.
As you can see the who list starts on the same line as my prompt instead of the next line. |
|
|
|
misterbalrog Apprentice
Joined: 26 Oct 2004 Posts: 108
|
Posted: Mon Feb 07, 2005 9:56 pm |
#tr {(*)} {#echo %char(13);%-1} "" {input}
Perhaps will help you. |
|
|
|
fhqwhgad Novice
Joined: 07 Feb 2005 Posts: 38
|
Posted: Mon Feb 07, 2005 10:34 pm |
now the questions is...
how do i hide the %char(13);%-1 it types now?
example:
9am <680075hp Opp:None W > Vnum:95804 Area:Meeting of the Minds # %char(13);%-1
[God of Deceit ] Elial the Obscure, Weaver of Lies.
[ Hand of Fate ] Groo the Wanderer.....
A simple who requst |
|
|
|
misterbalrog Apprentice
Joined: 26 Oct 2004 Posts: 108
|
Posted: Mon Feb 07, 2005 10:39 pm |
Oh? It doesn't expand the values?
Well... just do
#echo
Then instead of %char(13);%-1.. |
|
|
|
Pega Magician
Joined: 08 Jan 2001 Posts: 341 Location: Singapore
|
|
|
|
fhqwhgad Novice
Joined: 07 Feb 2005 Posts: 38
|
Posted: Tue Feb 08, 2005 5:27 am |
The #echo worked out perfectly..
Thanks alot. |
|
|
|
|
|