|
@@ -31,18 +31,18 @@ if {$cmd_status == "1"} {
|
|
|
switch $what {
|
|
switch $what {
|
|
|
on {
|
|
on {
|
|
|
set out [blacktools:update_on_off 0]
|
|
set out [blacktools:update_on_off 0]
|
|
|
-if {$out == 1} {
|
|
|
|
|
|
|
+if {$out == 0} {
|
|
|
blacktools:tell $nick $host $hand $chan $chan1 autoupdate.35 ""
|
|
blacktools:tell $nick $host $hand $chan $chan1 autoupdate.35 ""
|
|
|
-} elseif {$out == 3} {
|
|
|
|
|
|
|
+} elseif {$out == 2} {
|
|
|
blacktools:tell $nick $host $hand $chan $chan1 autoupdate.36 ""
|
|
blacktools:tell $nick $host $hand $chan $chan1 autoupdate.36 ""
|
|
|
rehash
|
|
rehash
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
off {
|
|
off {
|
|
|
set out [blacktools:update_on_off 1]
|
|
set out [blacktools:update_on_off 1]
|
|
|
-if {$out == 0} {
|
|
|
|
|
|
|
+if {$out == 1} {
|
|
|
blacktools:tell $nick $host $hand $chan $chan1 autoupdate.37 ""
|
|
blacktools:tell $nick $host $hand $chan $chan1 autoupdate.37 ""
|
|
|
-} elseif {$out == 2} {
|
|
|
|
|
|
|
+} elseif {$out == 3} {
|
|
|
blacktools:tell $nick $host $hand $chan $chan1 autoupdate.38 ""
|
|
blacktools:tell $nick $host $hand $chan $chan1 autoupdate.38 ""
|
|
|
rehash
|
|
rehash
|
|
|
}
|
|
}
|