TinTin++ Mud Client Scripts  
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
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.

space
#nop This script is written for v1.99.7 and higher

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