All pastes #609935 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-09 04:31 UTC
rendered paste body
on *:TEXT:!blacklist*:#: { 
  if ($nick == [-Swift-] { 
    if ($readini(blacklist.ini,ADRESSES,$address($2,2))) { /notice $nick $2 Is already in the blacklist 
    } 
    else { 
      .writeini blacklist.ini ADRESSES $address($2,2) $2  
      /notice $nick $2 has been added to my blacklist 
      ban -ku600 $chan $address($2,2) 
      /notice $2 You are now not welcome on this channel! 
    } 
  } 
} 
on *:JOIN:#: { 
  if ($readini(blacklist.ini,ADRESSES,$address($nick,2))) { 
    ban -ku600 $chan $nick 
    /msg $chan $nick was found in my blacklist and is not welcome on $chan 
    /notice $nick you have received a 10 min ban DO NOT COME BACK you are blacklisted on this channel 
  } 
} 
on *:TEXT:!delblack*:#: { 
  if ($readini(blacklist.ini,ADRESSES,$address($2,2))) { 
    .remini blacklist.ini ADRESSES $address($2,2) 
    /notice $nick $2 has been removed from blacklist 
    /mode $chan -b $address($2,2) 
    /notice $2 You have been unblacklisted by $nick please come back to $chan 
  } 
}