Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- wand::language = "english"
- command /wand [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- give 1 271 named "&aWAND" to player
- if arg 1 is "language" or "jezyk":
- if arg 2 is "english" or "eng":
- set {wand::language} to "english"
- send "&aSuccessfully changed language to english"
- if arg 2 is "polish" or "pl":
- set {wand::language} to "polish"
- send "&aPomyslnie zmieniono jezyk na polski"
- on leftclick:
- if player is holding 271 named "&aWAND":
- set {x::leftclick::%player%} to x coordinate of player
- set {y::leftclick::%player%} to y coordinate of player
- set {z::leftclick::%player%} to z coordinate of player
- if {wand::language} is "english":
- send "&eFirst position set"
- if {wand::language} is "polish":
- send "&ePierwsza pozycja zaznaczona"
- on rightclick:
- if player is holding 271 named "&aWAND":
- set {x::rightclick::%player%} to x coordinate of player
- set {y::rightclick::%player%} to y coordinate of player
- set {z::rightclick::%player%} to z coordinate of player
- if {wand::language} is "english":
- send "&eSecond position set"
- if {wand::language} is "polish":
- send "&eDruga pozycja zaznaczona"
- command /set [<text>]:
- trigger:
- execute console command "/fill %{x::leftclick::%player%}% %{y::leftclick::%player%}% %{z::rightclick::%player%}% %{x::rightclick::%player%}% %{y::rightclick::%player%}% %{z::rightclick::%player%}% %arg 1%"
- if {wand::language} is "english":
- send "&eSuccessfully filled"
- if {wand::language} is "polish":
- send "&ePomyslnie wypelnione"
Advertisement
Add Comment
Please, Sign In to add comment