Logging Chat Windows (Dummy Windows)

Posted by Bbfreak on Wed 03 Jun 2009 10:00 PM — 7 posts, 26,343 views.

#0
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.

Australia Forum Administrator #1
In the dummy word configuration (Alt+Enter when the dummy widow is active) set logging up how you want it.
#2
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="&lt;&lt;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?
Australia Forum Administrator #3
Did you try what I suggested? In the chats window (which you showed the output of) try turning logging on.
#4
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
----------------------------------------
Australia Forum Administrator #5
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".
#6
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. ^.^