All pastes #173472 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-09-16 23:31 UTC
rendered paste body
on *:text:!*:#pyrobot: { 
  if ($1 == !voice) {
    if ($2) {
    <4 lines here>
    }
    if (!$2) {
      if ($readini(aov.ini,$chan,$address($nick,2)) == voice) { mode $chan +v $nick } 
      elseif ($readini(aov.ini,$chan,$address($nick,2)) == hop) { mode $chan +v $nick } 
      elseif ($readini(aov.ini,$chan,$address($nick,2)) == op) { mode $chan +v $nick } 
      elseif (($nick isop $chan) || ($nick ishop $chan)) { mode $chan +v $nick } 
    }
  }
}