or/and you could use it with public command to enable/disable in channel Syntax: !version on/off bind PUB n !version Pub:Version:Checker setudef flag vcheck proc Pub:Version:Checker {nick uhost hand chan arg} { switch -nocase -- [lindex [split $arg] 0] { on { if {[channel get $chan vcheck]} { putser...
this seems to work for me : works for both remote and local server. bind raw - NOTICE On-Connect:Drone-Check proc On-Connect:Drone-Check {from keyword text} { set text [regsub -all -- {\s{2,}} [string trim [stripcodes * $text]] { }] if {[string match *!*@* $from]} { return 0; # not a server notice }...
see if this works : set monchan #botop bind raw - notice shun-snotice proc shun-snotice {from keyword arg} { if {[string match -nocase "*shun*" $arg]} { set shun [lrange $arg 1 end] putserv "privmsg $::monchan :$shun" } } bind pub -|- !shun pub:shun proc pub:shun {nick host hand ...