Public feed #530196

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-06-02 01:45 UTC
rendered paste body
on *:KICK:#:{
  if ($knick == $me) {
    set %blacklist $addtok(%blacklist,$chan,44)
  }

  on *:INVITE:#:{
    if ($chan isin %blacklist) { 
      notice $nick This channel has been blacklisted. Join #curtbot to take it off.
    }
  }

  on *:TEXT:!unblacklist*:#:{
    if (($nick isop #curtbot) || ($nick ishop #curtbot)) { 
      set %blacklist $deltok(%blacklist,$2,44) 
      { notice $nick $2 has been taken off the blacklist
      }
    }