Hello again. I need some help with getting some text from a string. Don´t know if regexp´s is the way to do it, anyways. I have this line: caching and translation of results, and an option to find similar pages.<br><font color=#008000>www.<b>google</b>.com/ - 3k - 7 nov 2005 - </font><nobr> <a class...
I have one more problem. I get this error: Tcl error [pub:checkgreet]: invalid command name "" This is the code i have for the pub:checkgreet proc atm: proc pub:checkgreet { nick uhost handle channel arguments } { list arguments $arguments set greetnick [lindex $arguments 0] set greetchann...
I can´t seem to find the problem with this. I get this error: Tcl error [pub:delgreet]: extra characters after close-quote This is the code i have atm: proc pub:delgreet { nick uhost handle channel arguments } { set greetdb "scripts/charlie.tcl/greet.db" list arguments $arguments set greet...
Got a new problem. this is the code so far (i know it ain´t much): proc pub:addgreet {nick greetnick greetchannel greettext} { set greetdb "scripts/greets.db" set greetdbtmp "scripts/greets.db.tmp" } Anyway. what i´m after is a process that searches a file (greets.db) for $greetc...
Nevermind the last thing, sorted that one but got a new error. new error: Tcl error [pub:checkgreet]: wrong # args: should be "string index string charIndex" new code: proc pub:checkgreet {nick uhost handle channel arguments } { list arguments $arguments set greetnick [lindex $arguments 0]...
I working on a simple greet script but have encountered some problems. this is what the script looks like so far. proc pub:checkgreet {nick uhost handle channel arguments } { list arguments $arguments set greet.nick [lindex $arguments 0] set greet.channel [lindex $arguments 1] set greet.text [lrange...
don´t know if this is the right place for this. anyways.... I get errors from my trivia (moxquiz) Here´s the error i get: Tcl error [moxquiz_purr]: syntax error in expression "($action == "ACTION" && $arg == "pats $botnick" && [...": looking for close pa...