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.
Old posts that have not been replied to for several years.
G
Gusty
Post
by Gusty » Fri Jun 04, 2004 4:14 pm
I know maybe this post its a little bit opportinistic, but ill really appreciate, if you could tell me, or guide me, with an tcl.
I just want a tcl that ban a user when (s)he, enter a channel, but i wanna ban her(his) host.
I only want this because i have in may channel much people that are spyware and spammer, and they always use some exact host.
Tks.
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Fri Jun 04, 2004 4:16 pm
Check TCL Archive. There are many usefull scripts there that ban hosts.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
G
Gusty
Post
by Gusty » Sat Jun 05, 2004 9:14 am
I´ve already check, the tcl archive, download and install many tcl, and some with modifications, but still i dont have what i spected.
I know may be its a little bit simple, but because amd new in this, i tried to make one but it didnt work.
Please help me.
CtrlAltDel
Halfop
Posts: 49 Joined: Wed Jun 02, 2004 7:58 am
Post
by CtrlAltDel » Sat Jun 05, 2004 12:11 pm
Maybe I don't understand the question, but ... can't that be done in dcc chat with your bot (without scripts)?
.help +ban
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Sat Jun 05, 2004 5:15 pm
Do you want to ban every user?
There must be a specific criteria.
Do you want to ban the user on a matching ident? or ip address?
or maybe the nick??!
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sun Jun 06, 2004 5:45 am
Via dcc add an user named blacklist, spam or whatever you want, chattr it +dk and add the hosts you want to be banned.
Once the game is over, the king and the pawn go back in the same box.
G
Gusty
Post
by Gusty » Sun Jun 06, 2004 11:42 am
Lets see. Some how i cannot ban yhem using de dcc. Thats because, i wanna ban their host. I want to ban like this *!*@*.mindspring.com . The host, and thats because they are, what we call Spyware. They change the ident and the nick, but the host are almost the same. The problem is that there`re many hosts.
Thats all.
Thks
G
Gusty
Post
by Gusty » Sun Jun 06, 2004 11:50 am
Its very easy to do that in a remote for mirc.
Like this
ON @Spy:JOIN:#mp3:/ignore $nick | /ban $chan $nick | /kick $chan $nick Spy and Others | /describe $nick reminds you that you are not welcome in $chan
And in the User file
spy:*!*@*.mindspring.com
i only want that in a tcl.
strikelight
Owner
Posts: 708 Joined: Mon Oct 07, 2002 10:39 am
Contact:
Post
by strikelight » Sun Jun 06, 2004 1:17 pm
Um...
Why can't you use +ban?
.+ban *!*@*.mindspring.com #channel you are not welcome here
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Sun Jun 06, 2004 11:05 pm
For the ban of *!*@*.domain
you can use the following procedure
as a sample to create banmasks out
of the local variable $bankmask.
E.g.
It would create:
Code: Select all
For user@203.163.73.52 ==> *!*@203.163.73.*
For user@adsl-125.cable.mindspring.com ==> *!*@*.mindspring.com
Here use something like this:
Code: Select all
proc ban:host {nick uhost handle chan text} {
...................
...................
# banmask: *!*@*.domain
set banmask "*!*[string range [maskhost $uhost] [string last "@" [maskhost $uhost]] e]"
...................
...................
putquick "MODE $chan +b $banmask"
#****
#OR
#****
newchanban $chan $banmask <creator> <reason> <lifetime>
...................
}
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
CtrlAltDel
Halfop
Posts: 49 Joined: Wed Jun 02, 2004 7:58 am
Post
by CtrlAltDel » Sun Jun 06, 2004 11:56 pm
strikelight, I see they pay you no attention either
strikelight
Owner
Posts: 708 Joined: Mon Oct 07, 2002 10:39 am
Contact:
Post
by strikelight » Mon Jun 07, 2004 12:14 am
Some people just refuse to believe that a question can actually have a simple answer
puffi
Voice
Posts: 25 Joined: Tue Jun 01, 2004 10:09 am
Post
by puffi » Mon Jun 07, 2004 3:49 am
Why dont you simply hack into your irc-client
/mode #channel +b *!*@*.bad.bad.host.reallybad