egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

English only kick

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
JOE
Voice


Joined: 24 Nov 2003
Posts: 34

PostPosted: Sun Nov 27, 2005 1:38 am    Post subject: English only kick Reply with quote

Wink Trying to fine a tcl script that will warn a nick that the channel is english only and if they speak another language again the script will kick them from the channel.Is it possible to have a tcl script that will do that and if so can someone please help me or tell me where i may fined it.Thanks for any help anyone may be able to give me. Smile
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Nov 27, 2005 3:19 am    Post subject: Reply with quote

is it just me or are people who have been registered here for years really too ignorant about things they should have known far better by now?

wrong forum dude

and no, there is no such script, and it's very hard to write one - for the simple reason that you can't programmatically distinguish your language from all others with sufficient certainty, given only one sentence or phrase

think before posting
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun Nov 27, 2005 8:16 am    Post subject: Reply with quote

you should at least specify the languages you want to be kicked. There is noone who will ever write a general script to kick these 50 languages or many we have all over the world.
Not to mention that you need to take care about the input encodig, about what language is supposed to be allowed. some common phrases might be avaible in more than one language. if you want to ban both, you can use them, if you dont, you cant. Not to mention someone might wanted to write an english word like "fine" but only wrote "fin", or he misstyped "were" for "wer" which is again another language Very Happy.
_________________
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
View user's profile Send private message MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Nov 27, 2005 10:45 am    Post subject: Reply with quote

I guess he meant kicking on none-english fonts not words, but still that's tricky and like demond said it might not be 100% ceratin.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Mon Nov 28, 2005 9:14 am    Post subject: Reply with quote

you cannot kick "fonts" in IRC, because there is no encoding description...
a shift_js byte combination, might be a regular special character in utf-8... unless you enforce an encoding by channel rules, you cannot determine what is what Very Happy.
_________________
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
View user's profile Send private message MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Nov 28, 2005 9:02 pm    Post subject: Reply with quote

Sir_Fz meant non-English characters like , etc etc.

One thing for sure, you'd be there all day trying to figure it out. LOL

English being as flexible as it is (it also uses accented characters) it is impossible for any script to determine what is or is not a certain language.

@ JOE: Your request is impossible as the parameters are too ambiguous.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Nov 29, 2005 12:44 am    Post subject: Reply with quote

well, actually I had something similar in mind a while ago, and even did some research on existing language recognition algorithms - however, my idea was to apply fuzzy logic with phonetic and syntax rules on a whole buffer of phrases/sentences, not just one line

eventually I decided it'd be too much time wasted for achieving relatively insignificant goal and passed on the idea
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Nov 29, 2005 6:37 pm    Post subject: Reply with quote

Alchera wrote:
Sir_Fz meant non-English characters like , etc etc.

lol yes, I meant characters*** not fonts sorry. Aside from non-english characters used for accents, some people simply like to decorate their text by using strange characters, for example "that" -- laming processing to --> "hД" Laughing
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber