Sponsored Links




Topic Options
Rate This Topic
#3149 - 09/07/08 01:10 AM Kick and ban ustream spammers
TuxedoJericho Offline
newbie

Registered: 12/24/07
Posts: 40
Loc: Whitesburg, TN
If you have one of those channels where random people come in and spam their ustream links, and you want to get rid of them, this script is for you.
Code:
on *:text:*ustream.tv/*:#channame: {
  if ($nick isop $chan || $nick ishop $chan || $nick isvoice $chan) {
  /halt }
  else {
    ban -u 10800 $chan $nick 3 | /kick $chan $nick Spamming ustream links is now allowed. The ban will expire in three (3) hours.
  }
} 


Of course, replace #channame with your chat name. Also, you can change the
Code:
ban -u 10800 $chan $nick 3
to a lower number to reduce the time amount on the ban, or just make it
Code:
 ban $chan $nick 3
to make a permaban on it.

I know some people may wonder what the 3 is after the $nick parameter. It's the ban type.

Without a ban type: nick!user@full.domain.listed.in.whois.
Ban type 1: *!*user@full.domain.listed.in.whois
Ban type 2: *!*@full.domain.listed.in.whois
Ban type 3: *!user@*.domain.com
Ban type 4: *!*@*.domain.com

You can also change the *ustream.tv/* to any website you want to kick the spammers on.
_________________________
I am Gary "TuxedoJericho" Greenlee, and I support this message.

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top
#3168 - 09/08/08 06:24 PM Re: Kick and ban ustream spammers [Re: TuxedoJericho]
iPhone Offline
Over 100 posts

Registered: 03/08/08
Posts: 108
Loc: New Jersey
Thanks SO much. I needed that
_________________________
-Kevin C. Nunez, CEO and Founder of #iPhone on WyldRyde

Top
#3317 - 10/07/08 04:21 PM Re: Kick and ban ustream spammers [Re: iPhone]
Rockbuddy Offline
n00b

Registered: 12/23/07
Posts: 15
Loc: Florida
It will probably read this much faster even if it isn't very noticeable.
Added: Parenthesis at the end of each if statement, changed halt and else. Halt is decent enough because it will just stop if the nick is one of the following if's. Also, stacking the script can be read much more quickly. You may not be able to notice but it works faster.

on *:text:*ustream.tv/*:#channame: {
if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) { halt }
ban -u 10800 $chan $address($nick,2)
kick $chan $nick Don't Spam your Ustream link!
}


**Also how the ban type was set in the other script would work as well, but this lets you know that there is more than one way of doing it. smile


Edited by Rockbuddy (10/07/08 04:24 PM)

Top
#3437 - 11/03/08 06:59 PM Re: Kick and ban ustream spammers [Re: TuxedoJericho]
CompuNerd Offline
n00b

Registered: 11/03/08
Posts: 3
Loc: England
Looks good, but you do know you don't need "/" in that script.

Top


Recent Posts
Rules for Voiced (+v) users in #Chris
by Axlin
11/20/08 05:36 PM
WyldRyde Channel Management Script **BETA**
by usrbingeek
11/19/08 12:35 AM
Saying Hello
by cirian75
11/18/08 02:13 PM
Multiple Network question
by usrbingeek
11/16/08 10:00 PM
Recruiting new ops and half ops in #iPhone
by techman224
11/14/08 07:09 PM
Common Commands Script
by burace17
11/14/08 02:55 PM
Rules for Voiced Users being Enforced More
by abcd
11/14/08 08:33 AM
New bot policy
by Freekie
11/11/08 10:11 PM
my favorite channels on WR
by sbushfan11
11/10/08 05:42 AM
Volunteer Half-Op Positions Available In My New Ch
by mikem
11/08/08 03:16 PM
Script Bots. Need One?
by Samuel
11/07/08 10:10 PM
Services Help Version 2.4
by Jerry
11/06/08 09:41 PM
Recent Pics
mIRC on Linux???
Computer Spam o_O
My Windows Desktop
Who's Online
1 registered (1 invisible), 4 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 468
Kat 266
iPhone 108
Phil 91
Freekie 85
techman224 75
CCMike 73
Justin 70
tengrrl 55
wirelesspacket 52
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.