Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. if arg 1 is "tempmute":
  2. if arg 2 is set:
  3. if arg 3 is set:
  4. if {mute.%arg 2%} isn't true:
  5. loop all players:
  6. loop-players has permission "mod.staff"
  7. send "&7(&2&lS&eChat&7) %colored player's prefix%&7%player% &ea mute &b%arg 2% &ependant &b%arg 4% secondes &epour &b%arg 3%&e." to loop-players
  8. send "&7Vous avez été Mute pour &c%arg 3% &7par &c%executor%&7 pendant &c%arg 4%&7 secondes." to arg 2
  9. set {mute.%arg 2%} to true
  10. set {_wait} to arg 4
  11. wait {_wait}
  12. if {mute.%arg 2%} is true:
  13. set {mute.%arg 2%} to false
  14. send "&7Vous avez été Unmute car le temp de mute est terminé. Merci de respecter le réglement&7." to arg 2
  15. else:
  16. stop
  17. else:
  18. send "[&cModération&7]&c Erreur ! &e%arg 2%&c est déjà mute !"
  19. else:
  20. send "&7[&cModération&7]&c Utilisation : /mod tempmute <pseudo> <raison> <temp en secondes !>"
  21. else:
  22. send "&7[&cModération&7]&c Utilisation : /mod tempmute <pseudo> <raison> <temp en secondes !>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement