Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ustaw [<text>]:
- trigger:
- if arg 1 is not set:
- send "Ustaw miejsca 1-5"
- if arg 1 is "1":
- player has permissions "Ustaw.1":
- send "Ustawiles miejsce 1"
- set {Ustaw1} to location of player
- else:
- send "Nie posiadasz uprawnien !"
- if arg 1 is "2":
- player has permissions "Ustaw.2":
- send "Ustawiles miejsce 2"
- set {Ustaw2} to location of player
- else:
- send "Nie posiadasz uprawnien !"
- if arg 1 is "3":
- player has permissions "Ustaw.3":
- send "Ustawiles miejsce 3"
- set {Ustaw3} to location of player
- else:
- send "Nie posiadasz uprawnien !"
- if arg 1 is "4":
- player has permissions "Ustaw.4":
- send "Ustawiles miejsce 4"
- set {Ustaw4} to location of player
- else:
- send "Nie posiadasz uprawnien !"
- if arg 1 is "5":
- player has permissions "Ustaw.5":
- send "Ustawiles miejsce 5"
- set {Ustaw5} to location of player
- else:
- send "Nie posiadasz uprawnien !"
- on rightclick on sign:
- if line 1 is "[Teleport]":
- chance of 50%:
- teleport player to {Ustaw1}
- chance of 50%:
- teleport player to {Ustaw2}
- chance of 50%:
- teleport player to {Ustaw3}
- chance of 50%:
- teleport player to {Ustaw4}
- chance of 50%:
- teleport player to {Ustaw5}
Advertisement
Add Comment
Please, Sign In to add comment