*ScoreStat enables AutoTrack automatically for hunter class characters only.
as my base and re-wrote the color features, I also added an upper/lower case function.
Sarryn asked for some help fixing his colors so this is the end product of that fix.
Type helpAutoTrack for a list of commands.
You must set ttColor and tbColor (foreground and background) to your current default text colors for this script to work.
Example: type tbColor black to set text background color to black.
You can change the color of human, trolloc, seanchan, myrddraal, dreadlord, ridden mount, and all other generic names(like a humanoid).
You can change human, trolloc, seanchan, myrddraal, and dreadlord between upper and lower case.
You can change the color of north, east, south, west, up, and down as well as their upper or lower case.
You can change the color of the direction characters that surround their coordinating cardinal directions << >> ^^ vv ++ -- and even make them blink!
You can underline, make blink, and bold any color selection.
You can change the color and case of BLOODY TRACES.
The default color scheme is set up for my preferences, they will need to be adjusted to fit your preferences.
Code: Select all
#CLASS {AutoTrack} {disable}
#ALIAS helpAutoTrack {
#SHOW {""}
#SHOW {""}
#SHOW {"-----AutoTrack Script Commands-----"}
#SHOW {""}
#SHOW {"Recognized color names: black, blue, green, cyan, red, magenta, brown, gray, yellow, white."}
#SHOW {"-Example: typing ttrollcolor red will change the forground text color of Trolloc in an autotrack line to red."}
#SHOW {"--Note: You can also modify the fore and back attributes with the strings: high, bold, blink, and under."}
#SHOW {"-Example: <command> <color,string> = tnamecolor cyan,under (track name color will be underlined and the color cyan)."}
#SHOW {""}
#SHOW {"Type ttColor <color> to change text foreground color to your default text color"}
#SHOW {"--Note: Must be set to the same color as your default foreground text color."}
#SHOW {""}
#SHOW {"Type tbColor <color> to change text background color to your default background color."}
#SHOW {"--Note: Must be set to the same color as your default background color."}
#SHOW {""}
#SHOW {"Type tcColor <color> to change text color of the directional symbols that encompass track direction."}
#SHOW {"-Example: tccolor red,blink will change the symbols to the color red and will blink."}
#SHOW {""}
#SHOW {"Type tdColor <color> to change text color of the directional word (north, south, east, west. up, down)."}
#SHOW {"-Example: tdcolor cyan,under will change the color of the directional word to cyan and underline it."}
#SHOW {""}
#SHOW {"Type tNameColor <color> to change the text color for tracking generic names (like 'a humanoid')."}
#SHOW {""}
#SHOW {"Type tHumanColor <color> to change the text color for tracking Humans."}
#SHOW {""}
#SHOW {"Type tTrollColor <color> to change the text color for tracking Trollocs."}
#SHOW {""}
#SHOW {"Type tFadeColor <color> to change the text color for tracking Myrddraals."}
#SHOW {""}
#SHOW {"Type tDLordColor <color> to change the text color for tracking Dreadlords."}
#SHOW {""}
#SHOW {"Type tMountColor <color> to change the text color for tracking RiddenMounts."}
#SHOW {""}
#SHOW {"Type bloodyCaps to toggle the upper and lower cases of bloody traces."}
#SHOW {""}
#SHOW {"Type directionCaps to toggle the upper and lower cases of the cardinal directions ."}
#SHOW {""}
#SHOW {"Type humanCaps to toggle the upper and lower cases of human."}
#SHOW {""}
#SHOW {"Type trollCaps to toggle the upper and lower cases of trolloc."}
#SHOW {""}
#SHOW {"Type seanchanCaps to toggle the upper and lower cases of seanchan."}
#SHOW {""}
#SHOW {"Type fadeCaps to toggle the upper and lower cases of myrddraal."}
#SHOW {""}
#SHOW {"Type dlordCaps to toggle the upper and lower cases of dreadlord."}
#SHOW {""}
}
#ALIAS ttColor {
#VAR trackTextColor %1
#ECHO {%1 is now set as your trackTextColor.}
}
#ALIAS tbColor {
#VAR trackBackColor %1
#ECHO {%1 is now set as your trackBackColor.}
}
#ALIAS tcColor {
#VAR trackCharColor %1
#ECHO {%1 is now set as your trackCharColor.}
}
#ALIAS tdColor {
#VAR trackDirColor %1
#ECHO {%1 is now set as your trackDirColor.}
}
#ALIAS tNameColor {
#VAR trackNameColor %1
#ECHO {%1 is now set as your trackNameColor.}
}
#ALIAS tHumanColor {
#VAR trackHumanColor %1
#ECHO {%1 is now set as your trackHumanColor.}
}
#ALIAS tTrollColor {
#VAR trackTrollocColor %1
#ECHO {%1 is now set as your trackTrollColor.}
}
#ALIAS tSeanchanColor {
#VAR trackSeanchanColor %1
#ECHO {%1 is now set as your trackSeanchanColor.}
}
#ALIAS tFadeColor {
#VAR trackMyrddraalColor %1
#ECHO {%1 is now set as your trackFadeColor.}
}
#ALIAS tDLordColor {
#VAR trackDreadlordColor %1
#ECHO {%1 is now set as your trackDLordColor.}
}
#ALIAS tMountColor {
#VAR trackRiddenMountColor %1
#ECHO {%1 is now set as your trackRiddenMountColor.}
}
#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}
}
#ALIAS bloodyCaps {
#IF (@capBloody=1) {capBloody=0} {capBloody=1}
#IF (@capBloody=1) {#ECHO {BLOODY TRACES are now upper case.}} {#ECHO {bloody traces are now lower case.}}
}
#ALIAS directionCaps {
#IF (@capDirection=1) {capDirection=0} {capDirection=1}
#IF (@capDirection=1) {#ECHO {NORTH, EAST, SOUTH, WEST, UP and DOWN are now upper case.}} {#ECHO {north, east, south, west, up, and down are now lower case.}}
}
#ALIAS humanCaps {
#IF (@capHuman=1) {capHuman=0} {capHuman=1}
#IF (@capHuman=1) {#ECHO {HUMAN is now upper case.}} {#ECHO {human is now lower case.}}
}
#ALIAS trollCaps {
#IF (@capTrolloc=1) {capTrolloc=0} {capTrolloc=1}
#IF (@capTrolloc=1) {#ECHO {TROLLOC is now upper case.}} {#ECHO {trolloc is now lower case.}}
}
#ALIAS seanchanCaps {
#IF (@capSeanchan=1) {capSeanchan=0} {capSeanchan=1}
#IF (@capSeanchan=1) {#ECHO {SEANCHAN is now upper case.}} {#ECHO {seanchan is now lower case.}}
}
#ALIAS fadeCaps {
#IF (@capMyrddraal=1) {capMyrddraal=0} {capMyrddraal=1}
#IF (@capMyrddraal=1) {#ECHO {MYRDDRAAL is now upper case.}} {#ECHO {myrddraal is now lower case.}}
}
#ALIAS dlordCaps {
#IF (@capDreadlord=1) {capDreadlord=0} {capDreadlord=1}
#IF (@capDreadlord=1) {#ECHO {DREADLORD is now upper case.}} {#ECHO {dreadlord is now lower case.}}
}
#VAR dirchar {}
#VAR westchar {<<}
#VAR eastchar {>>}
#VAR northchar {^^}
#VAR southchar {vv}
#VAR upchar {++}
#VAR downchar {--}
#VAR trackTextColor {black}
#VAR trackBackColor {white}
#VAR trackDirColor {cyan}
#VAR trackCharColor {red}
#VAR trackNameColor {black}
#VAR trackHumanColor {cyan}
#VAR trackTrollocColor {red}
#VAR trackSeanchanColor {magenta}
#VAR trackMyrddraalColor {red,bold}
#VAR trackDreadlordColor {red,bold}
#VAR trackRiddenMountColor {blue}
#VAR trackBloodyColor {red,bold}
#VAR capBloody {0}
#VAR capDirection {0}
#VAR capHuman {0}
#VAR capTrolloc {0}
#VAR capSeanchan {0}
#VAR capMyrddraal {0}
#VAR capDreadlord {0}
#TRIGGER {^There are some (bloody traces) of a (dreadlord) leaving (%w).} {
#COLOR @trackTextColor
GetDir %3
#SUB {There are some %ansi(@trackBloodyColor,@trackBackColor)%if(@capBloody,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)of %ansi(@trackDreadlordColor,@trackBackColor)%if(@capDreadlord%upper(%2),%lower(%2)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%3),%lower(%3))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some (bloody traces) of a (myrddraal) leaving (%w).} {
#COLOR @trackTextColor
GetDir %3
#SUB {There are some %ansi(@trackBloodyColor,@trackBackColor)%if(@capBloody,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)of %ansi(@trackMyrddraalColor,@trackBackColor)%if(@capMyrddraal,%upper(%2),%lower(%2)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%3),%lower(%3))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some (bloody traces) of a (seanchan) leaving (%w).} {
#COLOR @trackTextColor
GetDir %3
#SUB {There are some %ansi(@trackBloodyColor,@trackBackColor)%if(@capBloody,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)of %ansi(@trackSeanchanColor,@trackBackColor)%if(@capSeanchan,%upper(%2),%lower(%2)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%3),%lower(%3))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some (bloody traces) of a (trolloc) leaving (%w).} {
#COLOR @trackTextColor
GetDir %3
#SUB {There are some %ansi(@trackBloodyColor,@trackBackColor)%if(@capBloody,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)of %ansi(@trackTrollocColor,@trackBackColor)%if(@capTrolloc,%upper(%2),%lower(%2)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%3),%lower(%3))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some (bloody traces) of a (human) leaving (%w).} {
#COLOR @trackTextColor
GetDir %3
#SUB {There are some %ansi(@trackBloodyColor,@trackBackColor)%if(@capBloody,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)of %ansi(@trackHumanColor,@trackBackColor)%if(@capHuman,%upper(%2),%lower(%2)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%3),%lower(%3))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some (bloody traces) of (*) leaving (%w).} {
#COLOR @trackTextColor
GetDir %3
#SUB {There are some %ansi(@trackBloodyColor,@trackBackColor)%if(@capBloody,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)of %ansi(@trackNameColor,@trackBackColor)%2 %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%3),%lower(%3))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some {tracks} of a (ridden mount) leaving (%w).} {
#COLOR @trackTextColor
GetDir %2
#SUB {There are some tracks of a %ansi(@trackRiddenMountColor,@trackBackColor)%1 %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%2),%lower(%2))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some {tracks} of a (dreadlord) leaving (%w).} {
#COLOR @trackTextColor
GetDir %2
#SUB {There are some tracks of a %ansi(@trackDreadlordColor,@trackBackColor)%if(@capDreadlord%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%2),%lower(%2))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some {tracks} of a (myrddraal) leaving (%w).} {
#COLOR @trackTextColor
GetDir %2
#SUB {There are some tracks of a %ansi(@trackMyrddraalColor,@trackBackColor)%if(@capMyrddraal,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%2),%lower(%2))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some {tracks} of a (seanchan) leaving (%w).} {
#COLOR @trackTextColor
GetDir %2
#SUB {There are some tracks of a %ansi(@trackSeanchanColor,@trackBackColor)%if(@capSeanchan,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%2),%lower(%2))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some {tracks} of a (trolloc) leaving (%w).} {
#COLOR @trackTextColor
GetDir %2
#SUB {There are some tracks of a %ansi(@trackTrollocColor,@trackBackColor)%if(@capTrolloc,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%2),%lower(%2))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some {tracks} of a (human) leaving (%w).} {
#COLOR @trackTextColor
GetDir %2
#SUB {There are some tracks of a %ansi(@trackHumanColor,@trackBackColor)%if(@capHuman,%upper(%1),%lower(%1)) %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%2),%lower(%2))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#TRIGGER {^There are some {tracks} of (*) leaving (%w).} {
#COLOR @trackTextColor
GetDir %2
#SUB {There are some tracks of %ansi(@trackNameColor,@trackBackColor)%1 %ansi(@trackTextColor,@trackBackColor)leaving %ansi(@trackCharColor,@trackBackColor)@dirchar%ansi(@trackDirColor,@trackBackColor)%if(@capDirection,%upper(%2),%lower(%2))%ansi(@trackCharColor,@trackBackColor)@dirchar}
}
#CLASS 0