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
➜ Logging Chat Windows (Dummy Windows)
|
Logging Chat Windows (Dummy Windows)
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Bbfreak
(9 posts) Bio
|
| Date
| Wed 03 Jun 2009 10:00 PM (UTC) |
| Message
| I apologize in advance if the information I'm after has been posted somewhere else, and feel free to redirect me if it is.
Anyway, so I've got my chats redirected to a "dummy" window, my question is, whether or not there is a way to log the containing text of the "dummy" window separately from the main window.
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 04 Jun 2009 12:08 AM (UTC) |
| Message
| | In the dummy word configuration (Alt+Enter when the dummy widow is active) set logging up how you want it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Bbfreak
(9 posts) Bio
|
| Date
| Reply #2 on Thu 04 Jun 2009 12:35 AM (UTC) |
| Message
| Well that's the problem, scripting the chats to the dummy window leaves me with a closed window more or less. Not an active window, IE there is no logging whether its set up, etc.
Below is my trigger.
<triggers>
<trigger
enabled="y"
match="<<Radio: *"
omit_from_output="y"
regexp="y"
send_to="14"
sequence="100"
>
<send>
local w = GetWorld ("chats") -- get "chat" world
if w then -- if present
for _, v in ipairs (TriggerStyleRuns) do
w:ColourTell (RGBColourToName (v.textcolour),
RGBColourToName (v.backcolour),
v.text)
end -- for each style run
w:Note ("") -- wrap up line
end -- world found
</send>
</trigger>
</triggers>
Below is an example of my output of my Dummy Window.
Welcome to MUSHclient version 4.40!
Written by Nick Gammon.
For information and assistance about MUSHclient visit our forum at:
http://www.gammon.com.au/forum/
<<Radio:LCT: Pub>> Ajax says, "Test test"
As you can see, it does exactly what its suppose to do. Except otherwise it might as well be a dead window with no logging or anything. ^.^ Which is why I'm curious how to log or if its possible, or maybe I'm just doing my dummy window incorrectly?
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Thu 04 Jun 2009 04:19 AM (UTC) |
| Message
| | Did you try what I suggested? In the chats window (which you showed the output of) try turning logging on. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Bbfreak
(9 posts) Bio
|
| Date
| Reply #4 on Thu 04 Jun 2009 01:02 PM (UTC) |
| Message
|
Quote: Did you try what I suggested? In the chats window (which you showed the output of) try turning logging on.
Yes, I've done what you suggested, in fact I've had logging enabled in my dummy/chat window from the beginning. That's the problem, while its enabled in the settings it doesn't actually log anything. The logging icon is even off by default, not that clicking it helps anything.It makes a log file sure, but there is still no logging done.
I'd be happy to provide screenshots if you think that would help.
That being said, under the "what to log" I've got log output checked, and am automatically logging to this file (Well, if I was logging): C:\Program Files\MUSHclient\logs\Radio %b-%d-%Y.txt
The only thing in a log file if anything is the world name and date and time:
Chats - Thursday, June 04, 2009, 8:41 AM
----------------------------------------
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #5 on Thu 04 Jun 2009 08:52 PM (UTC) |
| Message
| | The redirecting to the dummy window is done by using Note functions (and similar, like ColourNote, ColourTell etc.). Thus for them to be logged in the dummy window you need to check "Log Notes". |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Bbfreak
(9 posts) Bio
|
| Date
| Reply #6 on Thu 04 Jun 2009 09:06 PM (UTC) |
| Message
|
Quote: The redirecting to the dummy window is done by using Note functions (and similar, like ColourNote, ColourTell etc.). Thus for them to be logged in the dummy window you need to check "Log Notes".
Ah, duh. >.> Thanks. ^.^
| | 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.
24,686 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top