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.

kick & ban user based on some automatic things

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
s
silx
Voice
Posts: 13
Joined: Sat Feb 04, 2006 1:12 am

kick & ban user based on some automatic things

Post by silx »

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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
s
silx
Voice
Posts: 13
Joined: Sat Feb 04, 2006 1:12 am

Post by silx »

i looked at that
tried it..

i can get it all setup
but how do you format the badwhois.txt
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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

Code: Select all

badword1
badword2
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
s
silx
Voice
Posts: 13
Joined: Sat Feb 04, 2006 1:12 am

Post by silx »

i did put one per line
cant get to work
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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

Code: Select all

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: Select all

 tag when posting logs, code
s
silx
Voice
Posts: 13
Joined: Sat Feb 04, 2006 1:12 am

Post by silx »

how about if you want to ban "NAME" for the username in whois
but they have the same "NAME" as the ident
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
Post Reply