Advertisement
SaNCaK

mIRC Kick Counter

Feb 1st, 2014
453
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.27 KB | None | 0 0
  1. #KCounter on
  2.  
  3. on *:kick:#:if ( $nick == $me ) inc %kicks 1
  4.  
  5. alias kick { if ($me isop $1) && ($2 ison $1) { kick $1 $2 $3- $+ ) 4Kick nr: ( $+ %kicks $+ ) } }
  6.  
  7. #KCounter End
  8.  
  9. alias kcounter { dialog -m kcounter kcounter }
  10. dialog kcounter {
  11. title "Kick Counter"
  12. size -1 -1 138 57
  13. option dbu notheme
  14. box "Power", 1, 6 3 50 50
  15. button "On", 2, 12 13 37 12, flat
  16. button "Off", 3, 12 33 37 12, flat
  17. box "Options", 4, 81 3 50 50
  18. button "Echo", 5, 87 13 37 12, flat
  19. button "Clear Kicks", 6, 87 33 37 12, flat
  20. button "Close", 11, 58 25 21 12, flat ok
  21. }
  22.  
  23. on 1:DIALOG:kcounter:sclick:*: {
  24. if ( $did == 2 ) { /.enable #KCounter | echo -a 4,1K14,1ick 4C14,1ounter 4I14,1s 4N14,1ow 4T14,1urned 4O14,1n }
  25. if ( $did == 3 ) { /.disable #KCounter | echo -a 4,1K14,1ick 4C14,1ounter 4I14,1s 4N14,1ow 4T14,1urned 4O14,1ff }
  26. if ( $did == 5 ) { /echo -a $chan 4,1I 4,1K14,1icked3 %kicks 4,1T14,1imes 4,1S14,1o 4,1F14,1ar }
  27. if ( $did == 6 ) { /clear %kicks | /echno -a 4,1T14,1he 4,1N14,1umber 4,1O14,1f 4,1K14,1icks 4,1Y14,1ou 4,1H14,1ad, 4,1H14,1as 4,1B14,1een 4,1C14,1leared }
  28. if ( $did == 11 ) { dialog -x kcounter kcounter }
  29. }
  30. menu menubar {
  31. -
  32. Kick Counter:/kcounter
  33. -
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement