All pastes #793539 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-22 11:26 UTC
rendered paste body
alias voiceA {
  set %chanVic #
  msg $iif(L ison %chanVic,l,q) chanlev %chanVic
}
on *:NOTICE:*:*:{
  if (%chanVic) {
    if ($nick == L) || ($nick == Q) {
      if ((*----* iswm $1) || (are: isin $1-)) && (!%check) { set %check 1 } 
      elseif (($1 == Total:) || (*End of list.* iswm $1-)) { unset %check | unset %lol | .timer 1 1 Checkaddd }
      elseif (%check) && (*----* !iswm $1) { set %address %address $1 }
    }
  }
}
alias Checkaddd {
  var %x 1
  While ($gettok(%address,%x,32)) { 
    msg $iif(L ison %chanVic,l,q) chanlev %chanVic # [ $+ [ $gettok(%address,%x,32) ] ] -v
    inc %x
  }
  if (!$nick(%address,%x,32)) { unset %x | unset %address | unset %chanVic }
}