Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc proc_modes:mdo {nick host hand chan arg} {
- if {[botisop $chan]} {
- set oplist ""
- foreach user [chanlist $chan] {
- if {([isop $user $chan]) && (![isbotnick $user]) && ![matchattr $user nm|bmo $chan]} {
- lappend oplist $user
- }
- }
- set cnt 0
- while {$cnt < [llength $oplist]} {
- putquick "MODE $chan -oooooo [lindex $oplist $cnt] [lindex $oplist [expr $cnt + 1]] [lindex $oplist [expr $cnt + 2]] [$
- incr cnt 6
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement