Advertisement
Guest User

Untitled

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