TinTin++ Mud Client Scripts  
space
space
If you want to log every little thing it's useful to organize your logfiles. This script allows you to automatically add the current date to the name of a log file, and place it in the proper log directory.

This script is written for v2.01.97 and higher

space
#ALIAS {log}
{
     #if {"%0" == "on"}
     {
          #if {"$logging" != "on"}
          {
               #format {logfile} {logs/%t.html} {%Y-%m-%d};
               #log append $logfile;
               #variable logging on
          };
          #else
          {
               #showme You are already logging.
          }
     };
     #elseif {"%0" == "off"}
     {
          #if {"$logging" == "on"}
          {
               #log off;
               #variable logging off
          };
          #else
          {
               #showme You are not logging.
          }
     };
     #else
     {
          #showme Turn logging on or off?
     }
}