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
➜ General
➜ Change carriage returns to %r
Change carriage returns to %r
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ebondream
(2 posts) Bio
|
Date
| Sun 27 Mar 2016 03:29 PM (UTC) |
Message
| Sorry if I this has been answered elsewhere--
Is there a way to automatically edit the text in the input window so that all carriage returns are changed into %r? So that I can for instance copy-paste a multi-paragraph description from a text file and not have MUSHclient read it as me trying to imput several different commands? | Top |
|
Posted by
| Fiendish
USA (2,536 posts) Bio
Global Moderator |
Date
| Reply #1 on Sun 27 Mar 2016 07:57 PM (UTC) |
Message
| Yes, but before we get into that...
What are commands? MUSHclient doesn't send commands. MUSHclient sends lines of data.
Commands are only commands if the server interprets them as directives instead of information.
So then the question becomes, what is special about %r? Is your server going to interpret %r as new line but can't interpret new line as new line?
Anyway, the documentation at http://www.mushclient.com/scripts/doc.php?general=plugin_callbacks has your exact request covered in the example for OnPluginCommandEntered. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
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.
10,143 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top