All pastes #370612 Raw Edit

Anonymous

public text v1 · immutable
#370612 ·published 2007-02-24 19:05 UTC
rendered paste body
on *:TEXT:!addstaff *:#: {
  if ($nick == Gibb) || ($nick == Andrew-Gibb) || ($nick == std) || ($nick == the_small_creature) {
    if (!$2) notice $nick Please specify a User to add to the list
    else {
      if !$ini(botstaff.ini,staff,$address($2,2)) {
        /writeini botstaff.ini staff $address($2,2) admin
        msg $chan 13,1Successfully Added $2 $+ 's Host ( $+ $address($2,2) $+ ) To BotStaff.
      }
    }
  }
}
On *:JOIN:* {
  if ($chan == #bots) { HALT }
  if ($nick == $me) { HALT }
  if ($chan == #irchelp) { HALT }
  If ($chan == #swiftirc) { HALT }
  if ($chan == #b0ts) { HALT }
  if ($address($nick,2) == $address($me,2)) {
    msg $chan 7[6 $+ $nick $+ 7]6 Bot Owner
    else if ($readini(botstaff.ini,staff,$address($nick,2))) {
      msg $chan  7[6 $+ $nick $+ 7]6 Bot Admin
      if ($address($nick,2) == $address($me,2)) {
        msg $chan 7[6 $+ $nick $+ 7]6 Bot Owner
      }
    }
  }
}