| TinTin++ Mud Client Scripts |
|
|
| Color Subs |
| The follow example shows how to color your damage messages red or green depending on who is dealt damage. |
#nop This script is written for v1.99.0 and higher
#substitute {%1 {misses|scratches|grazes|hits|injures|wounds|mauls|decimates|devastates|maims} %3}
{
<fbb>%1 %2 %3
}
{4}
#substitute {You%1 {misses|scratches|grazes|hits|injures|wounds|mauls|decimates|devastates|maims} %3}
{
<bfb>You%1 %2 %3
}
{5}
#alias {test}
{
#showme Bubba's triple roundhouse kick grazes you for 45665 hp.;
#showme Your punch maims Bubba for 4 hp.
}
|