mIRC Home    About    Download    Register    News    Help

Print Thread
#106223 26/12/04 08:53 PM
Joined: Dec 2002
Posts: 99
M
MDA Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2002
Posts: 99
Greetings and Best Holiday Wishes,

We're wanting/needing a cryllic nicname filter so we can safefly bypass acouple routines where the storage and retrevial of cryllic nicnames would be unwanted.

Something in the on join, which looks for any extended characters (cryllic markups) beyond regular ascii in the nicname, if found then we'll institue a bypass goto.

Some Examples of trash filled cryllic chatroom nicnames are:


ÐëąŦĦ_Ħãş_ĉőмΣ-ВоЩ_В4_мә

Madاميرالليــــــــــل

ﭏŢѓд₫ﺇŧįσŋลŁψฝ¡ฯςђﭏ

•ﺋ•Łẳ•ßέŁļẳ•ÞŕĨηĈέŞẳâ€

†•Ĝǿŧħĭč•ƒяǿĝĝέя•â€

ï›ï€ ï€ ï€ Î”Ï…Î½Î±Î¼ï¼Ï‚Î˜ÎµÎ¿Ï…ï€ ï€ ï

¤Wøйđэяįйģ˚Đλяķ˚Šøǔł¤

○●○●○●AnGeL_SlAyEr○●○â

Thanks for your time, consideration and suggestion
MDA

#106224 27/12/04 12:43 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Suppose Cyrillic characters range from ASCII 192 (hex C0) to ASCII 253 (hex FD), this script will identify nicks that contain Cyrillic characters:

alias isCyrillic return $regex($1, [\x[color:blue]C0-\xFD])

On @*:join:#:{
  • if $isCyrillic($nick) {
    kick # $nick Please get a pure english nick
    }
}[/color]


Link Copied to Clipboard