Code: Select all
bind raw - MODE foo
proc foo {f k t} {
if {[lindex [split $t] 1] == "+z"} {return 1}
}
actually unless i seriously misread the thread the discussion was about a bot kicking a (any) user who entered a room when that user had a certain mode set on them, otherwise i wouldn't have responded with a usermode based reply.demond wrote:we were talking channel mode, not umode
Code: Select all
bind raw - MODE foo
proc foo {f k t} {
if {[lindex [split $t] 1] == "+z"} {return 1}
}