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 

kick & ban user based on some automatic things

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


Joined: 04 Feb 2006
Posts: 13

PostPosted: Mon Feb 20, 2006 4:48 pm    Post subject: kick & ban user based on some automatic things Reply with quote

if user matches all of these :

- a certain ctcp reply - ie. mirc 6.12
- a certain name in real name field - ie. mirc

if those two are met the user is kicked and banned for #channel
Back to top
View user's profile Send private message
demond
Revered One


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

PostPosted: Mon Feb 20, 2006 9:36 pm    Post subject: Reply with quote

hmm, maybe I should add CTCP check to xchannel... for completion, since I already have WHOIS signature check in there
_________________
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
silx
Voice


Joined: 04 Feb 2006
Posts: 13

PostPosted: Tue Feb 21, 2006 10:04 pm    Post subject: Reply with quote

i looked at that
tried it..

i can get it all setup
but how do you format the badwhois.txt
Back to top
View user's profile Send private message
Alchera
Revered One


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

PostPosted: Tue Feb 21, 2006 11:32 pm    Post subject: Reply with quote

Simply add one word per line; no formatting with quotations etc.

Code:
badword1
badword2

_________________
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
Alchera
Revered One


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

PostPosted: Tue Feb 21, 2006 11:32 pm    Post subject: Reply with quote

demond wrote:
hmm, maybe I should add CTCP check to xchannel... for completion, since I already have WHOIS signature check in there

Would be a good idea.
_________________
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
silx
Voice


Joined: 04 Feb 2006
Posts: 13

PostPosted: Tue Feb 21, 2006 11:39 pm    Post subject: Reply with quote

i did put one per line
cant get to work
Back to top
View user's profile Send private message
demond
Revered One


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

PostPosted: Tue Feb 21, 2006 11:49 pm    Post subject: Reply with quote

Alchera wrote:
Simply add one word per line; no formatting with quotations etc.

Code:
badword1
badword2

actually, you can separate these words with any whitespace, not only newlines, but also spaces or tabs
_________________
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
silx
Voice


Joined: 04 Feb 2006
Posts: 13

PostPosted: Wed Feb 22, 2006 11:16 pm    Post subject: Reply with quote

how about if you want to ban "NAME" for the username in whois
but they have the same "NAME" as the ident
Back to top
View user's profile Send private message
demond
Revered One


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

PostPosted: Wed Feb 22, 2006 11:37 pm    Post subject: Reply with quote

silx wrote:
how about if you want to ban "NAME" for the username in whois
but they have the same "NAME" as the ident

you mean not username but realname, don't you? since username and ident are the same thing

don't worry, xchannel's /whois check ignores ident/username and operates on realname only (and of course on joined channels and server name)
_________________
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
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