DragonsPlanet
24.07.2005, 11:37
hallo bin völliger newbie in tcl habs aber dann doch mal irgenwann geschafft ein op deop script
proc pub:deop {nick host hand chan text} {
global botnick
if {[botisop $chan] && [onchan $nick $chan]} {
set nick1 [lindex $text 0]; set nick2 [lindex $text 1]
set nick3 [lindex $text 2]; set nick4 [lindex $text 3]
set nick5 [lindex $text 4]; set nick6 [lindex $text 5]
putquick "MODE $chan -oooooo $nick1 $nick2 $nick3 $nick4 $nick5 $nick6"
}
}
aber wie kann ich dort "verhindern" das bestimmte user nicht von anderen -o bekommen?
proc pub:deop {nick host hand chan text} {
global botnick
if {[botisop $chan] && [onchan $nick $chan]} {
set nick1 [lindex $text 0]; set nick2 [lindex $text 1]
set nick3 [lindex $text 2]; set nick4 [lindex $text 3]
set nick5 [lindex $text 4]; set nick6 [lindex $text 5]
putquick "MODE $chan -oooooo $nick1 $nick2 $nick3 $nick4 $nick5 $nick6"
}
}
aber wie kann ich dort "verhindern" das bestimmte user nicht von anderen -o bekommen?