All pastes #375760 Raw Edit

Something

public text v1 · immutable
#375760 ·published 2007-02-28 16:19 UTC
rendered paste body
on *:JOIN:#132:{   
  if (%autovoice [ $+ [ $chan ] ]) { 
    /whois $nick
    /msg $chan i got this far
    /set %voice mode # +v $nick
    set %whatchathink $1- 
  set %damsg msg $chan }
}
raw 307:*: { 
  if (*has identified for this nick* iswm %whatchathink) {
    %voice
  %damsg $nick is identified }
  elseif (*has identified for this nick* !iswm %whatchathink) { 
    %damsg $nick is not id'd 
    unset %whatchathink
    unset %voice
    unset %damsg 
  }  
}  
on *:TEXT:!autovoice on*:#132:{ 
  if ($nick isop $chan) || ($nick ishop $chan) {
    set %autovoice [ $+ [ $chan ] ]
  msg $chan Autovoice On }
}
on *:TEXT:!autovoice off*:#132:{ 
  if ($nick isop $chan) || ($nick ishop $chan) {
    unset %autovoice [ $+ [ $chan ] ]
  msg $chan Autovoice OFF }
}