PCTechTalkhttp://www.pctechtalk.com/forums/

Go Back   PCTechTalk > Community > PCTechTalk IRC (#pctechtalk.com)

Reply
 
LinkBack Thread Tools Display Modes
Old 07-15-2003, 06:40 PM   #1 (permalink)
AdMiN oF RoCk!
 
RipperRoo's Avatar
 
Join Date: Mar 2003
Location: uk
Posts: 2,080
RipperRoo is on a distinguished road
pm spammers on p2pchat

ok, p2pchat is getting a lot of spammers at the moment, so i wrote a countermeasure, by popular demand, heres the script

it comes in 2 halfs, user and 'bot'

the user script is as follows

on *:text:*Fyle*:?: /msg #yourchan !botwide $nick

(change #yourchan)

when reciving the command, your bot wil send the ban command to every channel it holds op status in, in the script bellow, just change the channel names to those your bot holds op's in



on *:text:!botwide *:#yourchannel: if ($nick isop $chan) { cs ban #geekspeak $2 } { cs ban #script_test $2 } { cs ban #irienation $2 } { cs ban #kittysharem $2 } { cs ban #ed2k-it $2 }{ cs ban #fireydeviant $2 } { cs ban #fisty $2 }

if you want to allow lower user levels access to this funchin of your bot, just change 'isop' to 'isvoice' in the bot's version of the script
__________________
PcTechtalk.com Admin
A7V8X xp2600 Barton SLK 97U, GeForce FX 5700, 1GB 2700DDR Ram
Sony DVD -R/+R/RW, SB Live 5.1 Digital, 1 x 30gb 3 x 200GB 2x120GB 1 x 250GB HDD'S, 19" TFT Epson R265
HP NX6125 Laptop 1gb memory

http://www.minotaur-computers.co.uk/
RipperRoo is offline   Reply With Quote
Old 07-17-2003, 07:23 AM   #2 (permalink)
Registered User
 
computertech's Avatar
 
Join Date: Jul 2003
Location: Hervey Bay Queensland Australia
Posts: 6
computertech
right..................................
__________________
I LOVE AMD'S AND IRC!
computertech is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 05:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
2001 PCTechTalk