Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /tpwarpset [<text>]:
- permission: tpwarp.set
- trigger:
- if {tpwarp.%arg1%} is not set:
- if {tpwarp.%player%} is false:
- set {tpwarp.%arg1%} to location of player
- add "%argument1%" to {tpwarp::*}
- send "&e&lWarp %argument1% zostal ustawiony." to player
- set {tpwarp.%player%} to true
- else:
- send "&e&lMozesz ustawic tylko jednego warpa!" to player
- else:
- send "&e&lTaki warp juz istnieje." to player
- command /tpwarpdel [<text>]:
- trigger:
- if {tpwarp.%arg 1%} is set:
- if {tpwarp.%player%} is true:
- delete {tpwarp.%arg 1%}
- remove "%arg 1%" from {tpwarp::*}
- remove 1 from {tpwarp::*}
- send "&e&lWarp %arg 1% zostal usuniety."
- set {tpwarp.%player} to false
- else:
- send "&e&lNie masz ustawionego warpa." to player
- else:
- send "&e&lTaki warp nie istnieje." to player
- command /tpwarplist:
- trigger:
- if {tpwarp::*} is set:
- send "&e&lLista warpow: %{tpwarp::*}%" to player
- else:
- send "&e&lNie posiadasz warpa." to player
- command /tpwarp [<text>]
- trigger:
- if {tpwarp.%argument 1%} is set:
- teleport player to {tpwarp.%argument 1%}
- else if {tpwarp.%argument 1%} is :
- send "&e&lPodaj poprawną nazwę warpa." to player
Advertisement
Add Comment
Please, Sign In to add comment