PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [Gelöst] [Eggdrop,tcl],op deop script erweitern?


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?


ind00r
24.07.2005, 21:23
indem du beim bind anstatt

bind - .deop pub:deop

sagst

bind m .deop pub:deop

Das Flag entsprechend setzen, n ist owner m master etc

DragonsPlanet
25.07.2005, 17:27
ok thx