Advertisement
Guest User

Untitled

a guest
Apr 30th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. on first join:
  2. execute console command "pex user %player% add wybor.klasy"
  3.  
  4. command /menu:
  5. trigger:
  6. execute console command "meni %player% 1"
  7.  
  8. command /kowal:
  9. trigger:
  10. if player has the permission "moje.kowal":
  11. send "Masz już range kowala"
  12. stop
  13. else:
  14. if player has the permission "wybor.klasy":
  15. execute console command "pex user %player% add moje.kowal"
  16. execute console command "pex user %player% remove wybor.klasy"
  17. else:
  18. send "Jeszcze nie mozesz wybrac nowej klasy" to player
  19.  
  20. command /meni [<player>] [<integer>]:
  21. executable by: console
  22. trigger:
  23. if arg 2 is 1:
  24. wait 1 tick
  25. open chest with 5 rows named "&3Menu" to player-arg
  26. wait 1 tick
  27. format slot 21 of player-arg with 1 of grass named "&6&lWarpy" with lore "&1To jest lista warpow" to run "meni %player-arg% 2"
  28. format slot 22 of player-arg with 1 of diamond pickaxe named "&9&lProfesje" with lore "&1Cale menu profesji" to run "meni %player-arg% 3"
  29. if arg 2 is 2:
  30. wait 1 tick
  31. open chest with 5 rows named "&6&lWarpy" to player-arg
  32. wait 1 tick
  33. format slot 0 of player-arg with 1 of Gray Stained Glass Pane named "&4&lA" to close then run [make player-arg execute command "warp A"]
  34. if arg 2 is 3:
  35. wait 1 tick
  36. open chest with 5 rows named "&9&lProfesje" to player-arg
  37. wait 1 tick
  38. format slot 0 of player-arg with 1 of Lime wool named "&9&lKowal" with lore "&1Zdobadz profesje kowala" to close then run [make player-arg execute command "kowal"]
  39. format slot 9 of player-arg with 1 of Diamond Sword named "&9&lKowal" to run "meni %player-arg% 4"
  40. if arg 2 is 4:
  41. wait 1 tick
  42. open chest with 5 rows named "&9&lKowal" to player-arg
  43. wait 1 tick
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement