tracking script

Setup, mapping, script help, etc.
Post Reply
zain
Posts: 53
Joined: Thu Jun 07, 2012 10:32 am

tracking script

Post by zain »

#CLASS {ColorCode|Track}
#ALIAS GetDir {#IF {%1="north"} {#VAR dirchar @northchar};#IF {%1="east"} {#VAR dirchar @eastchar};#IF {%1="south"} {#VAR dirchar @southchar};#IF {%1="west"} {#VAR dirchar @westchar};#IF {%1="up"} {#VAR dirchar @upchar};#IF {%1="down"} {#VAR dirchar @downchar}}
#VAR dirchar {^^}
#VAR westchar {<<}
#VAR eastchar {>>}
#VAR northchar {^^}
#VAR southchar {vv}
#VAR upchar {++}
#VAR downchar {--}
#TRIGGER {({bloody traces|tracks}) of a ({seanchan|human|trolloc}) leaving (%w).} {#CO white;GetDir %3;#SUB {%1 of %ansi( red, bold)a %2 %ansi( white)leaving %ansi( yellow)@dirchar%ansi( red, bold)%3%ansi( yellow)@dirchar}}
#TRIGGER {({tracks|bloody traces}) of ~*(%w)~* leaving (%w).} {#CO white;GetDir %3;#SUB {%1 of *%ansi( red, bold)%2* %ansi( white)leaving %ansi( yellow)@dirchar%ansi( red, bold)%3%ansi( yellow)@dirchar}}
#TRIGGER {{bloody traces} of (*) leaving (%w).} {#CO white;GetDir %2;#SUB {bloody traces of %ansi( red, bold)%1 %ansi( white)leaving %ansi( yellow)@dirchar%ansi( red, bold)%2%ansi( yellow)@dirchar}}
#TRIGGER {{tracks} of (*) leaving (%w).} {#CO white;GetDir %2;#SUB {tracks of %ansi( green, bold)%1 %ansi( white)leaving %ansi( yellow, bold)@dirchar%ansi( green, bold)%2%ansi( yellow, bold)@dirchar}}
#CLASS 0
Post Reply