Advertisement
CMDProGamer

Example Skript

Mar 19th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. command /warn:reset [<player>]:
  2. trigger:
  3. if arg-1 is not set:
  4. set {warn.%player%} to 0
  5. message "&7Your warnings have been reset."
  6. else:
  7. set {warn.%arg 1%} to 0
  8. message "&7You have reset &c%arg 1%'s &7warnings!"
  9. message "&7Your warnings have been reset by &c%player%&7!"
  10. command /warn [<player>] [<text>]:
  11. permission: chatlounge.warn
  12. permission message: &cYou cannot do that!
  13. trigger:
  14. if arg-1 is not set:
  15. message "&cUsage: /warn <player> <reason>"
  16. else:
  17. add 1 to {warn.%arg 1%}
  18. broadcast "&c%arg-1% &7was warned by &c%player% &7for: %arg-2%. &7Warnings: %{warn.%arg 1%}%"
  19. command /punish [<player>]:
  20. permission: chatlounge.punish
  21. permission message: &cYou cannot do that!
  22. trigger:
  23. if arg-1 is not set:
  24. message "&cUsage: /punish <player>"
  25. else:
  26. open chest with 5 rows named "&3&lPunishments" to player
  27. format slot 0 of player with glass pane:9 named "&3by __Koala and CMDProGamer" to close
  28. format slot 11 of player with bedrock named "&8Black Hole" with lore "&3Made by CMDProGamer" to close then run [execute console command "minecraft:tp %arg 1% ~ ~-1000 ~"]->[broadcast "&b%player% &3has punished &b%arg 1% &3with &8Black Hole"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement