TinTin++ Mud Client Manual
Log
space
Syntax: #log {APPEND|OVERWRITE} {filename}
space
The log command will log all data received in the scrolling region to the specified filename. The mode is either o (overwrite) or a (append).
space
With the config command you can specify the data type used for the log file. These are: raw (prints escape codes as well), plain (strips escape codes), html (converts escape color codes to html color codes).
space
Example: #log o mylog.txt
space
This will write all the mud output to mylog.txt. If you use the #showme command it will be logged to file as well, unless you display something outside of the scrolling region if you have #split enabled.
space
You can log individual lines to a log file using the #line log command.
space
Example: #act {~%1 chats '%2'} {#line log comms.txt %1 chats '%2'}
space
Comment: You can save the entire scrollback buffer to file with the #buffer write command.
space
Example: #alias savebuffer {#format date %t %F;#buffer write log_$date.txt}
space
You can log the command history to a file using the #history write command.
space
See also: Read, Scan, Textin and Write.
space