Cyanyde Posted April 7, 2011 Report Share Posted April 7, 2011 (edited) I used this for years in MSN and Buzzen. It worked just fine. Now, it won't work at all. #spamkick On alias kicknick { if (-* !iswm $1) || ($len($1) > 3) halt if (b isin $1) access $2 add deny $address($3,2) $4 : $+ $5- if (k isin $1) kick $2 $3 $iif(b isin $1,$5-,$4-) } On *:TEXT:*:#: { .if ($1- == www) kicknick -b $chan $nick Are you stupid! $nick .if ($1- == http) kicknick -b $chan $nick Are you stupid! $nick } Can any one please lend a hand on this? It's for the new buzzen chat. I want to kick spammers who post links in the room. Edited April 7, 2011 by Cyanyde Link to comment Share on other sites More sharing options...
err0r Posted April 7, 2011 Report Share Posted April 7, 2011 most likely your problem is you aren't stripping out the buzzen font codes Link to comment Share on other sites More sharing options...
Cyanyde Posted April 7, 2011 Author Report Share Posted April 7, 2011 Ok. I only know how to strip the old VSIXc font. I do not know how to do that in Buzzen. Sorry to be acting like a noob. Link to comment Share on other sites More sharing options...
err0r Posted April 7, 2011 Report Share Posted April 7, 2011 on *:TEXT:*:#: { tokenize 32 $strip($regsubex($1-, /\[(?:style\x20.*?|/style)\]/gi,$null)) ;rest of stuff } but if you are using a socket conn you could strip it out in the socket Link to comment Share on other sites More sharing options...
Cyanyde Posted April 7, 2011 Author Report Share Posted April 7, 2011 I'm using the Biohazard script for room prots, it uses a base connection. As I am sure you know error. I am trying too add a few of my own prots to this script ( no I a not trying to ripp ). I will try and place the code you posted into my smapkick code. See if it works. Ty for the hewlp error. Link to comment Share on other sites More sharing options...
pony Posted April 30, 2011 Report Share Posted April 30, 2011 (edited) I'm using the Biohazard script for room prots, it uses a base connection. As I am sure you know error. I am trying too add a few of my own prots to this script ( no I a not trying to ripp ). I will try and place the code you posted into my smapkick code. See if it works. Ty for the hewlp error. Try this and edit as you need More words ect... can be added , hope this helps or give you some ideas on *:text:*:#: { if ($me !isop $chan) halt if ($istok($1-,www.,32) == $true)) || ($istok($1-,http,32) == $true)) { if ($nick isowner $chan) goto test if ($nick isop $chan) goto test if ($readini(protection.ini, $nick, swear) != true) { .msg $nick ( $nick ) Please do not Place web addys on $chan $+ ! U Will Be Ban next time .msg $chan Web Addys Not Allowed $nick Plz Stop With It! writeini protection.ini $nick swear true .timer 1 30 /remini protection.ini $nick swear halt } else { auser swear $address($nick,1) :swearing $nick $adate $time access # add deny *! $+ $$ial($nick $+ *,1).addr 15 $Nick swear kick # $nick You was Told Web Addys Not Allowed! ban 15 min | halt } :test { .msg $nick ( $nick ) we need to set the example plz $nick } } } to add new word || ($istok($1-,Newword,32) == $true)) Example if ($istok($1-,www.,32) == $true)) || || ($istok($1-,http,32) == $true)) || ($istok($1-,NEWWORD,32) == $true)){ Also be sure to make a file calles protection.ini to read and write to Place code in remotes New Should work with any connetion you are usen Good luck Edited April 30, 2011 by pony Link to comment Share on other sites More sharing options...
sirfunny Posted May 8, 2011 Report Share Posted May 8, 2011 The grammar in those kick messages is shockingly bad. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now