am facut cum scria ca tre sa fac doar ca nu a iesit.
Primesc asta in consola:
[02:11] <<SORIN>> S0RIN!~eu@*.undernet.org #nochan CHANSET wrong # args: extra words after "else" clause in "if" command.
acestea sunt liniile modificate in a&a_22_a_local_n.tcl:
[string match {[-+]locked} $mode] && [check:N:gl $hand] } {channel set $chan $mode } else {a:help $x chanset ; return "FAILED: wrong options ($mode $opti)"} elseif {
[string equal $mode +antitake]} { channel set $chan chanmode +tn-ik revenge-mode 1 flood-chan 7:20 flood-ctcp 2:20 flood-join 4:40 flood-kick 3:20 flood-deop 3:20 flood-nick 4:40 ban-time 0 +enforcebans +dynamicbans +protectops +protectfriends +dontkickops +revenge +cycle +bitch -autoop -op +antitake} elseif {
[string equal $mode -antitake]} { channel set $chan chanmode +tn-ik revenge-mode 1 flood-chan 6:2 flood-ctcp 12:10 flood-join 4:10 flood-kick 5:2 flood-deop 3:1 flood-nick 5:10 ban-time 0 +enforcebans +dynamicbans +protectops +protectfriends +dontkickops -revenge +cycle -bitch -autoop -op -antitake } elseif {
[string equal $mode +strict]} { channel set $chan +antipub +anticolour +antibold +antireverse +antiunderline +antiurl +antinotice +antiaction +antirepeat +strict} elseif {
[string equal $mode -strict]} { channel set $chan -antipub -anticolour -antibold -antireverse -antiunderline -antiurl -antinotice -antiaction -antirepeat -strict} elseif {
[string equal $mode +paranoia]} { pub:chanset $hand $chan "+antitake" $x $mix ; pub:chanset $hand $chan "+strict" $x $mix } elseif {
[string equal $mode -paranoia]} { pub:chanset $hand $chan "-antitake" $x $mix ; pub:chanset $hand $chan "-strict" $x $mix }
a:tell $x 126 "$chan $mode $opti"
return "$mode $opti"
unde gresesc?
multumesc
|