Devoiced advertising

By WacKy- on Dec 15, 2004

If Someone Advertises in your clan channel and it kinda gets anoyying then use this , just copy it into ur remote, put mode $chan +m on and let the script do the rest

( is devoices people for 5 minutes everytime they advertise)

on *:text:*#*:#chan:{
  if ($nick isop $chan) { | halt 
  }
  elseif ($nick == $read(advertise.txt)) { | halt }
  write advertise.txt $nick
  timer 1 1 .mode $chan -v $read(advertise.txt)
  timer 1 1 msg $chan $nick , You Have Been Devoiced For 5 Minutes For Advertising
  timer 1 300
  timer 1 301 .mode $chan +v $read(advertise.txt)
  timer 1 302 /remove advertise.txt
  timer 1 302 msg $chan $nick , Please Do Not Advertise Again.
}

Comments

Sign in to comment.
Yoinx   -  Dec 23, 2004

Im assuming you wrote it then?

 Respond  
Yoinx   -  Dec 15, 2004

also, \"elseif ($nick == $read(advertise.txt)) { | halt }\" wouldnt work as $nick will seldom match a random line. I think you wanted \"if ( $read(advertise.txt, r, $nick) ) { halt }\" though I could be wrong with that matching the nick to the file

 Respond  
WacKy-   -  Dec 15, 2004

well it dosnt when i use it ;D so dunno what uv done wrong :P

 Respond  
PoiXon   -  Dec 15, 2004

lol , when u have those | \'s before the halts it will say \"|\" unknown command :P

 Respond  
WacKy-   -  Dec 15, 2004

well it works fine, so i dunno what ur on about :P ;D

 Respond  
PoiXon   -  Dec 15, 2004

umm , why do u have a | on the second line?? and right on the end? also the person isnt in the file u have to add the person before it to get it to work! , other than that good idea :P

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.