Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

Advert Kicker

Recommended Posts

  • Administrators
Description: advert/spam kicked dialog.. v.1

 

>;dialog _spam ..dialog _spam {  title "Spam Prot [/_spam]"  size -1 -1 88 75  option dbu  list 1, 2 3 50 59, size  button "Add", 2, 57 6 24 9,flat  button "Del", 3, 57 18 24 9,flat  box "", 5, 53 0 33 73  button "About", 6, 57 61 24 9,flat  button "List", 7, 57 30 24 9,flat  text "Ban For&:", 8, 3 65 21 8  edit "", 9, 25 64 10 10,autohs  text "Secs.", 10, 35 65 15 8  button "Done", 11, 57 50 24 9,flat,ok,cancel};dialog c0deon *:dialog:_spam:sclick:2:{  .write _spam.txt $?="Spam Word To Add"  dialog -x $dname  dialog -m _spam _spam}on *:dialog:_spam:sclick:3:{  .write -ds $+ $?="Spam Word To Delete" _spam.txt  dialog -x $dname  dialog -m _spam _spam}on *:dialog:_spam:sclick:6:{  .window @about-_spam 1 1 10 60  .echo @about-_spam Spam Kicker by; ersid_/crasher}on *:dialog:_spam:sclick:7:{  .run _spam.txt}on *:dialog:_spam:init:*:{  did -a $dname 9 %timeBAN  loadbuf -o $dname 1 $+(",$mircdir/_spam.txt,")}on *:dialog:_spam:sclick:11:{  .set %timeBAN $did(9)};aliases c0dealias _spam {  inc %i  if (%i == 1) write _spam.txt dialog -m _spam _spam};spam c0deon *:TEXT:*:#:{  var %spamw0rd = 1  while (%spamw0rd !# $+ %kspam.count $+ /ban; %timeBan secs      .mode # +b $nick      .timerNB 1 %timeBAN .mode # -b $nick      .notice $nick You Have Been Banned From, %SpamChan For Advertising/Spaming, You Have Been Banned For %timeBAN Seconds.    }    inc %spamw0rd  }}

Link to comment
Share on other sites



×
×
  • Create New...