|
|
#1 (permalink) |
|
AdMiN oF RoCk!
Join Date: Mar 2003
Location: uk
Posts: 2,080
|
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/ |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|