Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Tips and tricks
➜ Linebreak at prompt
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Harpuia
(1 post) Bio
|
Date
| Sat 11 Dec 2004 12:57 AM (UTC) |
Message
| Is there a way to force the prompt to linebreak? It's messing up my triggers as some of the lines stick there and the whole trigger dies. | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Sat 11 Dec 2004 01:12 AM (UTC) |
Message
| Some servers have this as a config option. I'm pretty sure that SMAUG has a 'blank' setting for having a line break sent after the prompt. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Sat 11 Dec 2004 03:55 AM (UTC) |
Message
| If not, it is pretty hard because the client doesn't have a really good way of knowing what is a prompt and what isn't.
However see my recent post:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2727
It is possible you might be able to write a small plugin that detects prompts (assuming they always come in separate packets) and add a linefeed to them. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Scypio
Poland (50 posts) Bio
|
Date
| Reply #3 on Sun 12 Dec 2004 12:08 PM (UTC) |
Message
| There's a (slim) chance that the MUD has that functionality.. the one I play does, so I can just set prompt $HE>\n. But I don't think it's a very common feature. | Top |
|
Posted by
| Shadowfyr
USA (1,790 posts) Bio
|
Date
| Reply #4 on Sun 12 Dec 2004 07:08 PM (UTC) |
Message
| Sometimes it exists, but no one is aware of it. For example, one the mud I play (TMI-2 based), the syntax for the line break is '$_'. Even some of the staff didn't know about it and it is definitely not listed in the help file for the prompts. Odds are that many do have such a command you can add, the question is what the heck it is and if anyone is willing to tell you about it. A few muds go so far as to prevent its use or hide its existance, just to make it harder for bot builders to cheat the game and have the clients play for them.
Which, on a side note, I always found bizarre anyway... I mean what the heck is the point of coding something that you can walk away and leave for hours, while making the pretense you are 'playing' anything. Frankly, some of the complex combat systems they come up with, that involve like 90 different afflictions you can get in a fight, etc., only encourage this type of 'play'. So why don't they just call those muds "Multi Bot Dungeons"? In fact, you can just upload your script to the system, have it run around killing stuff and check it once a week to see how well it is doing compared to all the other bots. ;) lol | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Mon 13 Dec 2004 12:40 AM (UTC) |
Message
| |
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
19,533 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top