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.
Entire forum
➜ MUSHclient
➜ Plugins
➜ Redirect trace output to a notepad window
Redirect trace output to a notepad window
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Thu 05 Feb 2009 03:35 AM (UTC) |
Message
| This small plugin redirects trace output (from the Game menu -> Trace) to a notepad window, rather than the main output window.
This is particularly useful if you are debugging triggers which omit from output, as that will also omit the trace output from the output window.
Save between the lines as Trace_To_Notepad.xml and use File menu -> Plugins to load that file as a plugin.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Thursday, February 05, 2009, 3:33 PM -->
<!-- MuClient version 4.37 -->
<!-- Plugin "Trace_To_Notepad" generated by Plugin Wizard -->
<muclient>
<plugin
name="Trace_To_Notepad"
author="Nick Gammon"
id="adf79802005a0d6186530bee"
language="Lua"
purpose="Redirects trace to a notepad window"
date_written="2009-02-05 15:32:15"
requires="3.67"
version="1.0"
>
</plugin>
<!-- Script -->
<script>
<![CDATA[
function OnPluginTrace (line)
AppendToNotepad ("Trace", line .. "\r\n")
end
]]>
</script>
</muclient>
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 05 Feb 2009 06:05 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.
11,224 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top