|
flu | Sun 10-Jul-11 09:54 PM |
Member since 29th Jun 2011
5 posts
| |
|
#3335, "TinyFugue (TF) question"
|
I'd like to catch all tells and log them to a unique file. That way I can have another terminal open tailing said file, thereby keeping tells from getting 'lost in the sauce' when I'm on the move. Has anyone successfully done this? Defining the trigger is easy enough, it's just logging to a particular file that has me stumped.
Thanks in advance
|
|
|
|
  |
flu | Sun 10-Jul-11 10:58 PM |
Member since 29th Jun 2011
5 posts
| |
|
#3337, "RE: TinyFugue (TF) question"
In response to Reply #1
|
Solved. In case anyone else uses TF and wants this functionality, I added the following two macros. One logs tells you send, the other logs received tells. These are written to the file 'tells.txt'
/def -mregexp -F -p1 -t'(.+) tells you ' tellRecv = /test fwrite("tells.txt","%P1 tells you, %PR")
/def -mregexp -F -p1 -t'You tell (.*) (\'.*\')' tellSend = /test fwrite("tells.txt", "You tell %P1, %P2")
Sorry for the self-reply spam!
|
|
|
|
|