while {$count < [llength $bwfound]} { if { [string match -nocase "$bw" [lindex $bwfound $count]] == 1 } { putquick "PRIVMSG $chan : Wypierdalam cie bo podałeś badword." #putquick "PRIVMSG $chan : $Excepts(list)" if { [string match -nocase "$Excepts(list)" [lindex $bwfound $count]] == 1 } { putquick "PRIVMSG $chan : Ale jest wyjatek to mash spokój bo spokoje. :p" } else { putquick "PRIVMSG $chan : Wyjątku tez brak to wypad." return 0 } } incr count 1 }