| View previous topic :: View next topic |
| Author |
Message |
JmE Voice
Joined: 01 Dec 2005 Posts: 1
|
Posted: Thu Dec 01, 2005 9:28 am Post subject: problems whid ¤ char :S |
|
|
i want this to work but it wont :S
bind PUBM - * pub_test
proc pub_test {nick uhost handle chan text} {
if {[string match "*¤*" $text]} {
puthelp "PRIVMSG $chan : m000"
}
} |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Thu Dec 01, 2005 10:24 am Post subject: |
|
|
besides you usually write pubm in lower case and you do not write a space after : in IRC RAW, I cannot see something suspinious. You are most likely having an issue with character encoding. best thing would be copy the character out of eggdrop logs and not out of some chat client windows, since they might use diffrent encoding. telnet terminal windows usually use ISO-8859-1 while I know mIRC to use Windows-1252 (also known as CP1252). You might also check the locale setting from your box. Some systems might even use ISO-8859-15 or UTF-8.
If you are still having issues then read the faszinating manual:
http://www.tcl.tk/man/tcl8.4/TclCmd/encoding.htm _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
|