TinTin++ Mud Client Scripts  
space
space
The follow script shows how to color your combat messages red or green depending on who is dealt damage.

This script is written for v2.01.98 and higher

space
#SUBSTITUTE {^You%1 {misses} %3}
{
	<add>You%1 %2 %3
}
{5}


#SUBSTITUTE {%1 {scratches|grazes|hits|injures} %3}
{
	<edd>%1 %2 %3
}
{4}


#SUBSTITUTE {^You%1 {scratches|grazes|hits|injures} %3}
{
	<beb>You%1 %2 %3
}
{5}


#SUBSTITUTE {%1 {wounds|mauls|decimates|devastates|maims} %3}
{
	<fee>%1 %2 %3
}
{4}


#SUBSTITUTE {^You%1 {wounds|mauls|decimates|devastates|maims} %3}
{
	<afa>You%1 %2 %3
}
{5}


#ALIAS {test}
{
	#showme Bubba's triple roundhouse kick grazes you for 45 hp.;
	#showme Bubba's triple roundhouse kick devastates Pamela for 41 hp.;
	#showme Bubba's triple roundhouse kick misses Cookie.;
	#showme Pamela's overloaded handbag mauls Bubba for 10 hp.;
	#showme Your sucker punch maims Bubba for 14 hp.;
	#showme Cookie's flying scissors kick misses Bubba.;
	#showme Bubba's kidney punch misses you.
}
{5}