Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. on *:TEXT:~av-on:#: {
  2. if ($nick == Rakke) {
  3. set %avchannel $addtok(%avchannel,$chan,44)
  4. set %avoice $addtok(%avoice,$chan,44)
  5. msg $chan 4Auto Voice is now on for $chan
  6. }
  7. else {
  8. notice4 $nick u must be owner.
  9. }
  10. }
  11.  
  12. on *:TEXT:~av-off:#: {
  13. if ($nick == Rakke) {
  14. set %avchannel $remtok(%avchannel,$chan,1,44)
  15. set %avoice $remtok(%avoice,$chan,1,44)
  16. msg $chan 4Auto Voice is now off for $chan
  17. }
  18. else {
  19. notice4 $nick u must be owner(again).
  20. }
  21. }
  22.  
  23. on *:JOIN:%avchannel:{
  24. if (%avoice) {
  25. .timer 1 1 statuscheck $nick $chan
  26.  
  27. }
  28. }
  29. alias statuscheck {
  30. if $nick($2,$1,a,ohv) {
  31. .notice $1 Voicing Now.
  32. mode $2 +v $1
  33. }
  34. else {
  35. .notice $1 Voicing Cancelled.
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement