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.

on join ban host tcl

Old posts that have not been replied to for several years.
Locked
G
Gusty

on join ban host tcl

Post by Gusty »

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.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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 »

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.
C
CtrlAltDel
Halfop
Posts: 49
Joined: Wed Jun 02, 2004 7:58 am

Post by CtrlAltDel »

Maybe I don't understand the question, but ... can't that be done in dcc chat with your bot (without scripts)?

.help +ban
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

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.
==================================
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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 »

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 »

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.
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

Um...

Why can't you use +ban?

.+ban *!*@*.mindspring.com #channel you are not welcome here
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

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.
==================================
C
CtrlAltDel
Halfop
Posts: 49
Joined: Wed Jun 02, 2004 7:58 am

Post by CtrlAltDel »

strikelight, I see they pay you no attention either :D
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

Some people just refuse to believe that a question can actually have a simple answer :wink:
p
puffi
Voice
Posts: 25
Joined: Tue Jun 01, 2004 10:09 am

Post by puffi »

Why dont you simply hack into your irc-client
/mode #channel +b *!*@*.bad.bad.host.reallybad
Locked