This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Make bot react on swedish letters

Old posts that have not been replied to for several years.
Locked
e
elDavido

Post by elDavido »

Got a little problem here. I've made a script just for fun. It's supposed to give the user a cup of coffee when he/she types "!kääf" (local slang for coffee). As u see, there are two ä's in the middle and that's where the problem is.
The script runs successfully when I bind "!kääf". It shows up when I dcc the bot (.binds pub) but the bot doesn't react on the command.
The script works perfectly when I use "!kaaf" instead.

Now I want to know if there's a workaround for this problem, or do I have to stick with the "!kaaf" ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

May I ask what version of eggdrop, and Tcl you are using (both obtainable from the partyline by typing ".status").
e
elDavido

Post by elDavido »

eggdrop v1.6.6
Running on Linux 2.2.19pre17
Using Tcl library: /usr/lib/tcl8.2
Tcl version: 8.2 (header version 8.2)
Tcl patchlevel: 8.2.3+ (header patchlevel 8.2.3+)
TCL isn't threaded


Sorry for not including this info from the beginning!
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This is a highbit character problem. You could try downloading the CVS version of eggdrop1.6.7 (developmental), which has added fixes for this problem.

It is available from ftp://ftp.eggheads.org/pub/eggdrop/sour ... hot.tar.gz


e
elDavido

Post by elDavido »

Thanks for the help! I downloaded the file, but I think I'll wait for the final version. A stable bot is more important than that stupid script =)
Locked