is it possible to set some flags which will be protected from the actions of a tcl script (like ban or kick...)?
could somebody tell me the commands to set some "protected flags"?
«A fantastic spaghetti is a spaghetti that does not exist»
global botnick
if { ($nick == $botnick) || [matchattr $hand "f|f" $chan] || [matchattr $hand "o|o" $chan] } {return 0}
you usually dont need botnick, cause in cases of channel message the bot wont hear himself, but it will see its own kicks, mode changes etc..
note: return 0 will "drop" this event so it wont cause another bind call, nut dont be shy using return with other return values ^-^ (yell me if i am wrong )