i'm writing a script for a buddy of mine and the channel name has the £ in it....however, the tcl script i'm writing won't do anything because of the £. here's a sample from the script:
set chan1 "chan name omitted but contains two £"
set chan2 "chan name omitted and contains no £"
set msg1 "!test"
bind pubm - * pubm:all
proc pubm:all { nick uhost hand chan text } {
global chan1
global chan2
global msg1
if {$chan == $chan1} {
if {[lindex [split $text] 0] == $msg1} {
putserv "PRIVMSG $chan2 :$msg1"
}
}
}
heh actually i wasn't thinking clearly and it still doesn't work...i just realized that it's only entering the if because it thinks the strings aren't equal