Public feed #723826

Untitled

public text v1 · immutable
Raw Edit
·published 2007-10-03 02:03 UTC
rendered paste body
Someone help. I know what line it's in...but IDK what's wrong with it.

on *:text:!blacklist *:#:{
  if ($nick == Gren_Maju665) {
    if ($2 == add) {
      if (!$3) {
        //set % [ $+ [ $chan ] ] Black
        //notice $nick You have added $chan to the blacklist.
      }
this line ----> elseif ($left($3,1) == #) { 
        //set % [ $+ [ $3 ] ] Black
        //notice $nick You have added $3 to the Blacklist.
      }
    }
    if ($2 == del) {
      if (% [ $+ [ $3 ] ] == Black) { //set % [ $+ [ $3 ] ] $null
        //notice $nick You have removed channel $3 from the blacklist.
      }
      elseif (% [ $+ [ $3 ] ] == White) //notice $nick Whitelist chan
      elseif (!% [ $+ [ $3 ] ]) //notice $nick Chan not added to Black/White list
    }
  }
}