Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 1.39 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. alias Sub {
  2.   mode $rd(Settings Channel) -N
  3.   var %RegularColor = $replace($rd(Settings RegularColor),zeva,,bold,,kav,),%SpecialColor = $replace($rd(Settings SpecialColor),zeva,,bold,,kav,)
  4.   var %x 1,%msg
  5.   while ($ini(Gatherbot.ini,%x)) { if ($ini(Gatherbot.ini,%x) !== Settings) && ($rd($ini(Gatherbot.ini,%x) Sub)) {
  6.       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,)
  7.       %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)
  8.     }
  9.     inc %x
  10.   }
  11.   stylenotice Settings $rd(Settings channel) $right(%msg,-2)
  12.   mode $rd(Settings channel) +N
  13.   .timerSub 1 50 Sub
  14. }