Advertisement
outsider

Simple Autovoicer with noactive if a bot is present

Apr 17th, 2011
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.52 KB | None | 0 0
  1. Menu Channel
  2. {  
  3.     $iif(%Avoice == $true,$style(1)) Autovoicer :
  4.     {
  5.         set %Avoice $iif(%Avoice == $false,$true,$false)
  6.         echo -a >Attention< Auto voicer staat nu $iif(%Avoice == $true,AAN,UIT)
  7.     }
  8. }
  9.  
  10. off @*:join:#maroc.nl,#islam,#kwis:
  11. {
  12.     if (%Avoice)
  13.     {
  14.         if ($regex($site,/(.nl|.ma|.be)/si))
  15.         {
  16.             .timer -o 1 5 autovoicer $nick #
  17.         }
  18.         else
  19.         {
  20.             .timer -o 1 30 autovoicer $nick #
  21.         }
  22.     }
  23. }
  24.  
  25. alias autovoicer
  26. {
  27.     if ( $1 !isvoice $2 && $1 ison $2 && MarocSecur !isop $2)
  28.     {
  29.         putmode -t2000 $2 +v $1
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement