TinTin++ Mud Client Scripts  
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
space
space
The following script uses a function to translate the current color codes into ones that resemble the ROM format. This allows using #showme @c{r}test, to display test in dim red, etc.

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

#function {c}
{
	#switch {"%0"}
	{
		#case {"x"} {#variable result <088>};
		#case {"d"} {#variable result <008>};
		#case {"r"} {#variable result <018>};
		#case {"g"} {#variable result <028>};
		#case {"y"} {#variable result <038>};
		#case {"b"} {#variable result <048>};
		#case {"m"} {#variable result <058>};
		#case {"c"} {#variable result <068>};
		#case {"w"} {#variable result <078>};
		#case {"D"} {#variable result <108>};
		#case {"R"} {#variable result <118>};
		#case {"G"} {#variable result <128>};
		#case {"Y"} {#variable result <138>};
		#case {"B"} {#variable result <148>};
		#case {"M"} {#variable result <158>};
		#case {"C"} {#variable result <168>};
		#case {"W"} {#variable result <178>}
	}
}