|
teknozwizard Newbie
Joined: 28 Jun 2009 Posts: 7
|
Posted: Sat Jul 04, 2009 6:17 pm
Logging |
If I have a #CAPTURE trigger window open, is it possible to log the text in the #CAPTURE window only? Or does the main window log prevent that from happening? If I can just log the #CAPTURE channel, say for like....when I capture the text on the OOC channel and I want to log it in case I have to shut down cMud real quick or just in general want to log it, how would I do that without interrupting the main game log that's recording it? I don't like sifting through the main game log to find specific OOC says or specific clan says if I can just record each channel individually and sift through that one channels log.
|
|
|
|
diehard2k0 Beginner
Joined: 17 Aug 2008 Posts: 25
|
Posted: Sat Jul 04, 2009 8:38 pm |
Yes it is. Pull up your package editor, click on the window you want to put the trigger in on the left, then put the trigger under there.
|
|
|
|
teknozwizard Newbie
Joined: 28 Jun 2009 Posts: 7
|
Posted: Mon Jul 06, 2009 5:36 am |
You misunderstand me. I've got the capture triggers working, but I want to log the capture tabs that open up from the trigger, is that possible without overriding the original main game log?
|
|
|
|
wrym Magician
Joined: 06 Jul 2007 Posts: 349 Location: The big palace, My own lil world
|
Posted: Mon Jul 06, 2009 5:03 pm |
I just tried a few options, but was unable to get 2 logs at the same time. You might try using #file/#write/#close.
|
|
_________________ "To the engineer, all matter in the universe can be placed into one of two categories: (1) things that need to be fixed, and (2) things that will need to be fixed after you've had a few minutes to play with them" - Scott Adams, The Dilbert Principle |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 06, 2009 5:24 pm |
Wrym is correct that CMUD only has a single log file using the #LOG commands. You'll need to use the #FILE/#WRITE/#CLOSE commands as he mentioned to write to multiple files.
|
|
|
|
teknozwizard Newbie
Joined: 28 Jun 2009 Posts: 7
|
Posted: Tue Jul 07, 2009 6:33 am |
As silly as this sounds, would someone mind breaking down what #file/#write/#close mean individually and how to use them together (as the multiple /'s make it seem like I need to use all 3 commands together) so that I know how to properly use these commands? That would be so awesome. Thanks so much for helping me with this.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4703 Location: Pensacola, FL, USA
|
Posted: Tue Jul 07, 2009 8:15 am |
#FILE 1 "c:\blah\blah\blah"
#WRITE 1 {what you want to write}
#CLOSE 1
the file will stay open until you close it, or the session |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Jul 07, 2009 4:29 pm |
Basically, you have an OnConnect event in that window to do the #file command and open the file. You have a trigger that fires on everything to do the #write command, and you have an OnDisconnect event to do the #close command.
|
|
|
|
|
|