SkiLLerK_1337

Untitled

Feb 14th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. variables:
  2. wand::language = "english"
  3.  
  4. command /wand [<text>] [<text>]:
  5. trigger:
  6. if arg 1 is not set:
  7. give 1 271 named "&aWAND" to player
  8. if arg 1 is "language" or "jezyk":
  9. if arg 2 is "english" or "eng":
  10. set {wand::language} to "english"
  11. send "&aSuccessfully changed language to english"
  12. if arg 2 is "polish" or "pl":
  13. set {wand::language} to "polish"
  14. send "&aPomyslnie zmieniono jezyk na polski"
  15.  
  16. on leftclick:
  17. if player is holding 271 named "&aWAND":
  18. set {x::leftclick::%player%} to x coordinate of player
  19. set {y::leftclick::%player%} to y coordinate of player
  20. set {z::leftclick::%player%} to z coordinate of player
  21. if {wand::language} is "english":
  22. send "&eFirst position set"
  23. if {wand::language} is "polish":
  24. send "&ePierwsza pozycja zaznaczona"
  25.  
  26. on rightclick:
  27. if player is holding 271 named "&aWAND":
  28. set {x::rightclick::%player%} to x coordinate of player
  29. set {y::rightclick::%player%} to y coordinate of player
  30. set {z::rightclick::%player%} to z coordinate of player
  31. if {wand::language} is "english":
  32. send "&eSecond position set"
  33. if {wand::language} is "polish":
  34. send "&eDruga pozycja zaznaczona"
  35.  
  36. command /set [<text>]:
  37. trigger:
  38. execute console command "/fill %{x::leftclick::%player%}% %{y::leftclick::%player%}% %{z::rightclick::%player%}% %{x::rightclick::%player%}% %{y::rightclick::%player%}% %{z::rightclick::%player%}% %arg 1%"
  39. if {wand::language} is "english":
  40. send "&eSuccessfully filled"
  41. if {wand::language} is "polish":
  42. send "&ePomyslnie wypelnione"
Advertisement
Add Comment
Please, Sign In to add comment