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.

~ident gets banned...

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
g
gonso
Voice
Posts: 5
Joined: Tue Dec 06, 2005 6:14 pm

~ident gets banned...

Post by gonso »

Hello ther i need a script wich bans ~ident users

the ban should only ban specifyed hosts

eg. coolo!~cool@leet.host.tld shouldnt get banned
BUT

coolo!~cool@039.adsl123.bie05.lan.ch should get banned with *!~cool@*lan.ch but only for one min with some kick message

next point is the host e.g. *lan.ch should be defined at a seperat file eg banhosts.txt or somthing like this can some one do this for me thanks
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Absolutely everything you wish to do can be done via the command console.

Code: Select all

.help +ban
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Post by dusk »

Hi

Why ban someone for 1 min??? For what reason, be more specific.
If you don't want some people to be banned : use the exempt function.
Why using a seperate file if you can use tempban on *lan.ch?

GRTZ
g
gonso
Voice
Posts: 5
Joined: Tue Dec 06, 2005 6:14 pm

Post by gonso »

actually its the point that i dont want to set that ban manually if i ban *!~*@*.lan.ch f.ex. perm my bot wont remove that bans cus i've set -enforcebans

why the ban time of one minute just to tell the user to auth to the network service bot for quaknet Q and set +x to hide the host this way you can keep spamdrones etc easily out of you chan

the .txt file just for adding hosts cuz you know drones using much hosts.

€: and Alchera note that not everyone is using loltoolz. i preffer Stormbot
<12:58:37> <gonso> .help ban
<12:58:37> <botnick> [12:58] #gonso# help ban
<12:58:37> <botnick> No help available on that.
C
CrazyEgg
Halfop
Posts: 47
Joined: Thu Jul 28, 2005 4:02 pm

Post by CrazyEgg »

Alchera say:

Code: Select all

.help +ban
and not .help ban

on tcl archive exist tcl what you give mask and make ban to ip on channel.With a little modification(if you know tcl scripting) you can make what you need.
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Post by dusk »

Do you even know what -/+enforcebans does???
my bot wont remove that bans cus i've set -enforcebans
Maybe reading the doc section would help you......
g
gonso
Voice
Posts: 5
Joined: Tue Dec 06, 2005 6:14 pm

Post by gonso »

nah dusk i know -enforcebans does
i ment dynamic bans :r soory for that


CrazyEgg can you say me the name of the scrip i didnt found any script wich is easy to modify for me :(
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Try blacklist1.3 from here.

PS: I suggest you use .+ban as it's not necessary to use a script.
C
CrazyEgg
Halfop
Posts: 47
Joined: Thu Jul 28, 2005 4:02 pm

Post by CrazyEgg »

try banmask.tcl

read the description and with a lot of modification you can ban the mask and not the ip.
Minus is that you have to add masks if you want only via editing the tcl and not via dcc.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

gonso wrote:€: and Alchera note that not everyone is using loltoolz. i preffer Stormbot
<12:58:37> <gonso> .help ban
<12:58:37> <botnick> [12:58] #gonso# help ban
<12:58:37> <botnick> No help available on that.
Who uses either of those two bloated scripts anyway? I certainly do not!

Where did I mention scripts? I indicated using the Command Console.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

Post by dusk »

and Alchera note that not everyone is using loltoolz. i preffer Stormbot
I was actually asking myself the same question, nobody even mentioned stormbot or loltoolz.....

But anyway why using a script if everything you need to do this is actually there?
g
gonso
Voice
Posts: 5
Joined: Tue Dec 06, 2005 6:14 pm

Post by gonso »

i dont have a clou to tell my bot to set a ban an remove it after 1 minute... the bot shouldnt remove everyban after one minute...
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

### +ban <hostmask> [channel] [%<XdXhXm>] [comment]
Adds a ban to the list of bans stored on the bot, with optional comment and
ban time. This ban is stored with your handle as the creator, and will be
in effect for every channel if no channel is specified. Prefixing a comment
with '@' will make it only visible within the bot, and not used as the ban
reason. Ban time has to be expressed in days, hours, and/or minutes.

See also: bans, -ban, stick, unstick
g
gonso
Voice
Posts: 5
Joined: Tue Dec 06, 2005 6:14 pm

Post by gonso »

.stick works but sets the ban if you enter it so its not what i want... also im sure you guys allready would [censored] me up so


good bye board..
C
CrazyEgg
Halfop
Posts: 47
Joined: Thu Jul 28, 2005 4:02 pm

Post by CrazyEgg »

stick ban works after you have .+ban *!*@banmask

the stick ban help you when the chanban list is reseted the bot push the ban on chan.same thing if someone op remove ban from channel.the bot push back forced.
that mean sticky ban.

example:
dcc commands:

.+ban *!*@crazyegg.* perm
.stick ban *!~*@crazyegg.* #mychannel

on channel now:
StupidEgg (~eggy@CrazyEgg.is.Stupid.cc) joined #mychannel
bot sets mode +b *!~*@crazyegg.* <---first ban
bot kick StupidEgg (perm)
@OperOnChannel sets mode -b *!~*@crazyegg.*
bot sets mode +b *!~*@crazyegg.* <---that is sticky ban

via dcc now:
.resetbans #mychannel
on channel:
bot sets mode -bbbbbb ban1 ban2 ban3.....
bot sets mode +b *!~*@crazyegg.* <----that is sticky ban

something like that means stick ban.
Also as you are newbienow you have to know that all here was like you in the past.(i am still newbie too.Everyday learn something new)
you have to try to read the manual and make some tests with your bot cause noone would explain you in the future how an egg working.
Noone as i see was sensored here cause he didnt know.nobody was borned with working knowledge of egg and tcl scripting:)
Post Reply