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