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
➜ Looking for ways to view only the commands/input sent during a session
|
Looking for ways to view only the commands/input sent during a session
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Silverwood
(12 posts) Bio
|
| Date
| Thu 07 Jan 2010 10:26 PM (UTC) |
| Message
| In order to easily create aliases/speedwalks using information already entered through MUSHclient, I was wondering what methods are available to view sent commands. Could you guys please give some pointers?
An ideal situation (I don't know if MUSHclient has this or not) would be to have another window displaying only the input added during the session. Using log files showing only input does help, though I would like to know if the former feature exists, or if I could temporarily change the view settings to see only input. Thanks again for helping! =) | | Top |
|
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #1 on Thu 07 Jan 2010 11:50 PM (UTC) |
| Message
| 0xDEADBEEF. How's that for a pointer?
In all seriousness, you could create a plugin with an OnPluginSent plugin callback, which appends every command to a notepad. As an example (without the extra plugin XML fluff):
function OnPluginSent(command)
AppendToNotepad("Sent Commands", command .. "\n")
end
|
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Fri 08 Jan 2010 01:06 AM (UTC) |
| Message
| In other words, install this plugin:
 |
To save and install the Show_Sent_Commands plugin do this:
- Copy between the lines below (to the Clipboard)
- Open a text editor (such as Notepad) and paste the plugin into it
- Save to disk on your PC, preferably in your plugins directory, as Show_Sent_Commands.xml
- Go to the MUSHclient File menu -> Plugins
- Click "Add"
- Choose the file Show_Sent_Commands.xml (which you just saved in step 3) as a plugin
- Click "Close"
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Friday, January 08, 2010, 1:03 PM -->
<!-- MuClient version 4.45 -->
<!-- Plugin "Show_Sent_Commands" generated by Plugin Wizard -->
<muclient>
<plugin
name="Show_Sent_Commands"
author="Nick Gammon"
id="7bff541d04311483d4eeb785"
language="Lua"
purpose="Keeps track of what is sent to the MUD"
date_written="2010-01-08 13:02:43"
requires="4.40"
version="1.0"
>
</plugin>
<!-- Script -->
<script>
<![CDATA[
function OnPluginSent(command)
AppendToNotepad("Sent Commands", command .. "\r\n")
end
]]>
</script>
</muclient>
This will keep track of everything sent to the MUD (even if you didn't type it yourself). That is, movement with the numeric keypad, the result of triggers acting, etc.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Silverwood
(12 posts) Bio
|
| Date
| Reply #3 on Fri 08 Jan 2010 03:58 AM (UTC) |
| Message
| | Wow! Many thanks to Twisol and Nick here for helping out with the plugin - one thing I've always loved about this client and site is the amazing rate at which the community responds. Cheers to you guys. :) | | 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.
14,249 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top