Inserting Text Into Log

Posted by Marc Dver on Tue 01 Jul 2003 12:07 AM — 2 posts, 10,775 views.

#0
How do I insert text after a newline is received when logging? In my particular case, I'm trying to log only certain info from my Mush. Ideally, what I would like to do is have a manual trigger that would:
1. Skip three lines of logging
2. Save the next line
3. After the newline is received, insert a specific string into the log on the same line
4. Repeat three for each line until a certain string is received from the Mush.

Thanks for the help.

Sincerely,
Marc Dver
Australia Forum Administrator #1
Well, all the triggers fire after a newline, so you can take that as read.

You basically need a trigger or two - one that starts the logging process off, one that stops it (eg. disables the "log this" trigger).

You can make a trigger send to log, to send things from the trigger to the log.