Code: Select all
bind mode - "% -C" enforce
bind mode - "% -T" enforce
bind mode - "% +o" enforce
proc enforce {n u h c m v} {
if {$m=="+o" && [string compare -nocase $v $::botnick]} return
putserv "mode $c +CT"
}
this is part of a string that your irc server sends to you (or to your bot, or to anyone for that matter) when you connect to it - so called ISUPPORT reply - server numeric 005 (it can also be obtained when you /version the server)DJ747 wrote:CHANMODES=be,kfL,l,psmntirRcOAQKVGCuzNSMT <-- there is C and T in the chanmodes, maybe my eggdrop can't read the line properly? Or is this thing internal?
Code: Select all
.tcl putserv "MODE #channel +TC"
The error msg with the wrong syntax is the same as DJ747 got.<gb> .chanset #gb +wrong_syntax
<G> Error trying to set +WRONG_syntax for #gb, invalid mode.
<gb> .chanset #gb chanmode +CORRECT_syntax
<G> Successfully set modes { chanmode { +CORRECT_syntax } } on #gb.