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
➜ Saving a pose in order to reply to a page
Saving a pose in order to reply to a page
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ashtor
(2 posts) Bio
|
Date
| Tue 05 Aug 2008 10:37 PM (UTC) |
Message
| I have started using Mushclient recently, and have been very happy with it. Finding it simple to program aliases, line highlighting and enjoying its speed when working with multiple Mushes.
It has been a pleasant change after having become frustrated with the complexity of CMUD, trying to understand the package system, and worst of all its bugs in logging on to multiple servers.
The one thing I miss is the ability to store a pose which I am working on in order to reply to a page. I have tried searching the website here and if there is a simple thread on this maybe someone could point me to it. In CMUD or ZMUD I would down arrow and my half-completed pose, typically six to ten lines would go into the history without being sent to the mush. Then I could reply back to whomever had paged me, recall the pose, finish it and send it to the mush.
I am sure with the flexibility that Mushclient has that there is a simple way of saving and recalling a half-completed pose. So I would appreciate anyones help who could point me to the code or tell me of a plugin I could use to facilitate this.
| Top |
|
Posted by
| WillFa
USA (525 posts) Bio
|
Date
| Reply #1 on Tue 05 Aug 2008 11:09 PM (UTC) |
Message
| Yup, easy enough.
Alt+Enter to bring up preferences. Go to Input \ Commands on the left, click the Keyboard Preferences button. Check on "Escape Clears Typing" and "Save Deleted Typing".
When you want to reply, escape, reply, up arrow gets you back.
Down arrow will clear the line without saving. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Tue 05 Aug 2008 11:11 PM (UTC) |
Message
| The simplest way of doing that is to execute this script line:
/AcceleratorTo ("F5", "PushCommand ()", sendto.script)
For that to work you need Lua scripting, and in the Scripting configuration tab, make "/" the "script prefix".
Once you have done that, you can type half a command, hit F5, which pushes that into the command history list, and clears the command window.
Then type what you have to say, and then use Ctrl+H to review the command history, find your emote, hit <Enter> to put it back into the command window, and keep typing. If you get interrupted again, hit F5 again, and it goes back into the history list (at the bottom).
If you only have a single interruption, simply up-arrow to get the older item out of the command history, which will be your emote.
To save mucking around with scripting, you can copy and paste the alias below:
<aliases>
<alias
match="remember"
enabled="y"
send_to="12"
sequence="100"
>
<send>
AcceleratorTo ("F5", "PushCommand ()", sendto.script)
Note ("F5 now saves your current command")
</send>
</alias>
</aliases>
See http://mushclient.com/pasting for how to do that.
Now, at the start of your session, just type "remember" to trigger this alias, and make it set up F5 for you.
And to automate that even, go into the scripting configuration, and under "World Open" enter: !remember
The "!" makes it execute that alias, every time you open the world.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Tue 05 Aug 2008 11:11 PM (UTC) |
Message
| And what WillFa said is simpler again. ;) |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Ashtor
(2 posts) Bio
|
Date
| Reply #4 on Wed 06 Aug 2008 05:33 AM (UTC) |
Message
| Thank you so much for your help and your rapid response. Now when someone pages me to check if I have fallen asleep, I can assure them that I am still working on the pose :). | Top |
|
Posted by
| Worstje
Netherlands (899 posts) Bio
|
Date
| Reply #5 on Wed 06 Aug 2008 09:17 AM (UTC) |
Message
| Well, you learn something every day. I've always been an avid Ctrl-A, Ctrl-X person, followed by a Ctrl-V after handling the interruption.
Let's see if I can get into the habit of using this method instead :) | Top |
|
Posted by
| WillFa
USA (525 posts) Bio
|
Date
| Reply #6 on Thu 07 Aug 2008 02:03 AM (UTC) |
Message
| I forgot to include:
Check "Arrow Keys Traverse History" too. otherwise you'd need to ALT+Arrow to cycle through history. | 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.
16,907 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top