All pastes #450054 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-20 16:23 UTC
rendered paste body
on *:TEXT:!ignore*:#: {
  if ($nick == Slayercool66) { ;LEGG TIL BOTSTAFF TINGEN HER
    if ($2 == $null) {
      notice $nick 12[14Ignore12]14 Ignore syntax:12 !ignore <nick> / <nick> <time> <reason> / del <nick> / clear! 
      halt
    }
    if ($2 == help) {
      notice $nick 12[14Ignore12]14 Ignore syntax:12 !ignore <nick> / <nick> <time> <reason> / del <nick> / clear!
      halt
    }
    if ($2 == clear && $3 == $null) {
      ignore -r
      msg $chan 12[14Ignore12]14 Ignore list cleared.
      halt
    }
    if ($2 == del) {
      ignore -r $3 2
      msg $chan 12[14Ignore12]14 Removed12 $3 14from ignore list.
      halt
    }
    if ($3 isnum) {
      if ($4 == $null) {
        ignore -u $+ $calc( $3 * 60 ) $2 2
        amsg 12[14Global-Ignore12]12 $2 (14 $+ $address($2,2) $+ 12) 14added to ignore for12 $3 14min. Reason:12 No reason.
        halt
      }
      else {
        ignore -u $+ $calc( $3 * 60 ) $2 2
        amsg 12[14Global-Ignore12]12 $2 (14 $+ $address($2,2) $+ 12) 14added to ignore for12 $3 14min. Reason:12 $4- 
        halt
      }
    }
    elseif ($2 != clear && $2 != help && $2 != del) {
      if ($3 == $null) {
        ignore $2 2
        amsg 12[14Global-Ignore12]12 $2 (14 $+ $address($2,2) $+ 12) 14added to ignore. Reason:12 No reason.
        halt
      }
      else {
        ignore $2 2
        amsg 12[14Global-Ignore12]12 $2 (14 $+ $address($2,2) $+ 12) 14added to ignore. Reason:12 $3- 
        halt
      }
    }
  }
  notice $nick 12[14Ignore12]14 Only my botstaff can add/delete people to ignore
  halt
}