mIRC Homepage
Posted By: alhammer kick protect - 21/02/05 05:41 AM
Hey. I borrowed this code from Andy: https://forums.mirc.com/showflat.php?Cat=0&Number=112906&Main=112900 It's working GREAT. However, can someone please tell me how to send a message to the channel saying that nick has been added to protect list, and if/when they are removed. Thanks! grin
Posted By: SladeKraven Re: kick protect - 21/02/05 05:50 AM
Code:
on *:dialog:protect:sclick:4: {   
  set %protect.add $$?="Enter Word:"
  write protect1.txt did -a protect 3 %protect.add   
  write protect2.txt %protect.add 
  did -a protect 3 %protect.add
  if ($active ischan) { msg $active %protect.sel has been added to protect list. }

}

on *:dialog:protect:sclick:5: {  
  write -dw $+ "* $+ %protect.sel $+ *" protect1.txt   
  write -dw $+ "* $+ %protect.sel $+ *" protect2.txt 
  did -d protect 3 $did(protect,3).sel
  did -b protect 5
  if ($active ischan) { msg $active %protect.sel has been deleted from protect list. }
}
Posted By: alhammer Re: kick protect - 21/02/05 05:52 AM
Thanks Andy! Works Perfect.
Posted By: SladeKraven Re: kick protect - 21/02/05 05:53 AM
You're welcome.
© mIRC Discussion Forums