Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1.  
  2.  
  3. menu nicklist {
  4. [-[-Mute $1 -]-] {
  5. set %Mute.Nick $1
  6. set %Mute.Channel $chan
  7. set %Mute $$?"How many minutes do you want to mute %Mute.Nick for?"
  8. set %MuteMSG $$?"What do you want the mute message to be?"
  9. msg $chan 4,1.:[9 $+ %Mute.Nick $+ 4]:. .:[11You have been muted for9 %Mute 11minutes4]:. .:[12Reason:9 %MUTEMSG $+ 4]:.
  10. .timer 1 $calc(%Mute * 60) mode $chan -b $+ $iif(%Mute.Nick isavoice #,+v) ~q: $+ $address(%Mute.Nick,2) %Mute.Nick
  11. mode $chan -vqaoh+b %Mute.Nick %Mute.Nick %Mute.Nick %Mute.Nick %Mute.Nick ~q: $+ $address(%Mute.Nick,2)
  12. .timer 1 $calc(%Mute * 60) msg $chan 4,1.:[0 $+ %Mute.Nick $+ 7]:. .:[4You have been unmuted. In the future, please follow all the rules, and you will not be muted again14]:. .:[11The reason you were muted for is:9 %MuteMSG $+ 4]:.
  13. .timer 1 $calc(%Mute * 60) mode $chan +v-b %Mute.Nick ~q: $+ $address(%Mute.Nick,2)
  14. .timer 1 $calc(%Mute * 60) unset %mute*
  15. }
  16. }
  17. ON *:NICK:{
  18. if ($nick == %Mute.Nick) {
  19. set %Mute.Nick $newnick
  20. }
  21. }
  22. ON *:JOIN:%Mute.Channel:{
  23. if ($address($nick,2) == $address(%Mute.Nick,2)) {
  24. mode $chan -v $nick
  25. set %Mute.Nick $nick
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement