
Untitled
By: a guest on
May 7th, 2012 | syntax:
None | size: 1.39 KB | hits: 21 | expires: Never
alias Sub {
mode $rd(Settings Channel) -N
var %RegularColor = $replace($rd(Settings RegularColor),zeva,,bold,,kav,),%SpecialColor = $replace($rd(Settings SpecialColor),zeva,,bold,,kav,)
var %x 1,%msg
while ($ini(Gatherbot.ini,%x)) { if ($ini(Gatherbot.ini,%x) !== Settings) && ($rd($ini(Gatherbot.ini,%x) Sub)) {
var %g = $ini(Gatherbot.ini,%x),%st = $rd(%g Status),%RegularColor = $replace($rd(%g RegularColor),zeva,,bold,,kav,),%SpecialColor = $replace($rd(%g SpecialColor),zeva,,bold,,kav,)
%msg = %msg - Gather %SpecialColor $+ %g $+ %SpecialColor $+ %RegularColor $+ : Sub for team %SpecialColor $+ $upper($rd(%g Sub)) $+ %SpecialColor $+ %RegularColor $chr(124) Type $remove(%SpecialColor,) $+ $+ $rd(%g Sign) $+ $+ Sub $+ $remove(%SpecialColor,) $+ %RegularColor $chr(124) Map: %SpecialColor $+ $rd(%g Map) $+ %SpecialColor $+ %RegularColor $chr(124) %SpecialColor $+ $iif(%st == NotLive,Not Live,$iif(%st == EndFirst,Second half,$iif(%st == First,First half,$iif(%st == Second,Second half)))) $+ %SpecialColor $+ %RegularColor $iif(%st !== NotLive,$chr(124) A. $+ %SpecialColor $+ $rd(%g TeamAScore) $+ %SpecialColor $+ %RegularColor $+ - $+ B. $+ %SpecialColor $+ $rd(%g TeamBScore) $+ %SpecialColor $+ %RegularColor)
}
inc %x
}
stylenotice Settings $rd(Settings channel) $right(%msg,-2)
mode $rd(Settings channel) +N
.timerSub 1 50 Sub
}