Only this part does not work which i paste you higher . And as i think, script dont even read this part. If i use bwb $bw and then when i change $bw on $bwb in a place "if string match -nocase" this $bwb works. Problem with this comunicate - ubm:check]: can not find channel named "fil...
could u "repair" my part of script ? set readbw [open [string trimleft $chan #]_badwords.txt r] while { ![eof $readbw] } { putlog "i do something" gets $readbw line set helpwanted [string range $line 0 [expr [string first # $line]-1]] set message [string range $line [expr [string...
How to do lsearch for two or more words? like: [lsearch -all -inline {1 11 111 22 2 222} 2* 1*] i want to if find me words with 2* 1* .. so 1 11 111 2 22 222 [lsearch -all -inline {147 158 169 175 121 540} *0 *9] return => 540 169 ------ how to do list? like i got set $word "word1 2 3" i w...
hey. I need help. I've got something wrong in this script.. it says me "wrong args should be.. blablabla" here is script: set triggerchar "!" ### Thanks to ppslim for this filter ### proc swear:filter {str} { # regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006...