DragonHeart.
To change the color of the outputs, using the alias I provided you simply need to change the number within the alias
I.E.
Alias cc1 return $+($chr(3),01,$1-)
Alias cc2 return $+($chr(3),02,$1-)
Alias lg return $+($cc1($chr(40)),$cc2($1 $+ $chr(153)),$cc1($chr(41)))
$chr(3),01 <- Change that number
Nice script.
Why not use hash tables, instead of windows? Then you can review your hilights at anytime and do more with the script.
On *:ACTION:$(* $+ $me $+ *):#: {
if ($away) {
notice $nick Sorry $nick but I am away atm because of: $iif(!%away.reason,Be back soon,%away.reason) - Message has been logged.
hadd -m Hilights %away.time $timestamp $1-
if ($hget(HilightNum,%away.time) == 0) { hadd -m HilightNum %away.time 1 }
Else { hinc HilightNum %away.time }
}
}
;--then you can do
Alias hls {
msg $active I have been hilighted a total of: $hget(HilightNum,%away.time) times during the last time I was away. My last hilight being $hget(Hilights,%away.time)
}