Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /zywiol [<text>] [<text>]:
- trigger:
- if arg 1 is "wybierz":
- if {lvl.%player%} is greater than 4:
- if {blokada.%player%} is false:
- open chest with 1 rows named "&6&lWybierz zywioł" to player
- wait 2 tick
- format slot 0 of player with 327 named "&aMag Ognia" with lore "" to close then run [execute player command "/zywiol ogien"]
- else:
- send "&cBrak wymaganego poziomu: &b5"
- if arg 1 is "ogien":
- if {blokada.%player%} is false:
- send "&9» &7%player%, wybrał maga ognia" to all players
- set {mag.%player%} to "Ogien"
- set {blokada.%player%} to true
- stop
- if arg 1 is "woda":
- if {blokada.%player%} is false:
- send "&9» &7%player%, wybrał maga woda" to all players
- set {mag.%player%} to "Woda"
- set {blokada.%player%} to true
- stop
- if arg 1 is "ziemia":
- if {blokada.%player%} is false:
- send "&9» &7%player%, wybrał maga ziemi" to all players
- set {mag.%player%} to "Ziemia"
- set {blokada.%player%} to true
- stop
- if arg 1 is "powietrza":
- if {blokada.%player%} is false:
- send "&9» &7%player%, wybrał maga powietrza" to all players
- set {mag.%player%} to "Powietrze"
- set {blokada.%player%} to true
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement