Skip to content
NuClearMSN Connection

No advert kick and cant change Onjoin message

A TG007 community discussion started by Cherrycheesecake.

Discussion 3 posts
Page 1 of 1
Open
Topic #5531 · 3 published posts · 1,158 views

Just was wondering is there an auto kick for adverts? and if so how do i enable them? im also having trouble setting my onjoin message

Here is a kick for anyone advetising in your room, except for those hosting...

 

on *:TEXT:*:#:{
 if (http:// isin $1-) || (www. isin $1-) || (.com isin $1-) || (.org isin $1-) || (.net isin $1-) || (.gov isin $1-) || (.xxx) isin $1-) {
 if ($nick !isop $chan) || ($nick !isowner $chan) { access $chan add deny $ial($nick).addr 5 | kick $chan $nick No advertising please. Banned 5 Minutes. }
 }
}

 

That is for your advertising kick.

 

For your onjoin message you can use this if you want, or modify it to suit your needs...

 

on *:JOIN:#:{
 msg $chan Hello, $nick $+ . Welcome to $remove($chan,$left($chan,2))
}

Signal handler add it in your Nuclear Connection :)

 

on *:signal:msn.server:{
var %ss = $1, %sockwrite = sockwrite -n %ss | tokenize 32 $2-
if (%nuke.lpk) && ((*http://* iswm $4-,-1) || (*www.*.* iswm $4-,-1)) %sockwrite KICK $3 $right($gettok($1,1,33),-1) :Dont Advertise Links Here :) 
}

menu * {
 NüClear Protections
 .$iif(%nuke.lpk,$style(1)) $+ Advert Kick:$iif(%nuke.lpk,unset,set) %nuke.lpk 1
}

Edited Dec 29, 2005 6:19 AM by Cryton

 

 

There is nothing so absurd but some philosopher has said it