pomoze mi ktos z tymi zmiennymi ? tzn. nie wiem w czym jest blad bo gdy dodaje te przykladowe test. w {test.%argument 3%::block} to i tak wyskakuje cos.
# ############################ #
# Skrypt by _UnFrined #
# Zezwalam na: #
# - edycje kodu #
# - uzywanie na swoim serwerze #
# Nie zezwalam na: #
# - podszywanie sie pod autora #
# ############################ #
Variables:
{%argument 3%::lobby}
{%argument 3%:1:lobby}
{%argument 3%::block}
{%argument 3%:1:block}
options:
tag2: &8[&4Teleport&8]
command /teleport1 [<text>] [<text>] [<text>]:
permission: admin.tp
permission message: &cNie posiadasz uprawnien!
trigger:
if arg 1 is not set:
send "&8» &c/Teleport ustaw spawn nazwa &8- &7Ustawia lobby dla teleportacji na miejsce!"
send "&8» &c/Teleport ustaw powrot nazwa &8- &7(daj ta sama nazwe co u gory) Ustawia lobby dla powrotu!"
send "&8» &c/Teleport ustaw block nazwa ID_Blocku &8- &7Ustawiasz block jaki ma byc pod end stone aby isc na teleport"
send "&8» &c/Teleport ustaw block1 nazwa ID_Blocku &8- &7Ustawiasz block jaki ma byc pod end stone aby isc na teleport powrotny"
stop
if arg 1 is "ustaw":
if arg 2 is "spawn":
set {%argument 3%::lobby} to location of player
send "{@tag2} &7Poprawnie ustawiono &clobby &7dla graczy na wspolrzednych: &c%location of player%"
stop
if arg 1 is "ustaw":
if arg 2 is "powrot":
set {%argument 3%:1:lobby} to location of player
send "{@tag2} &7Poprawnie ustawiono &clobby &7dla graczy na wspolrzednych: &c%location of player%"
stop
if arg 1 is "ustaw":
if arg 2 is "block":
set {%argument 3%::block} to location of player
send "{@tag2} &7Poprawnie ustawiono &cblock &7jaki ma byc pod end stonem, aby isc na teleport %argument 3%"
stop
if arg 1 is "ustaw":
if arg 2 is "block1":
set {%argument 3%:1:block} to location of player
send "{@tag2} &7Poprawnie ustawiono &cblock &7jaki ma byc pod end stonem, aby isc na teleport powrotny %argument 3%"
stop
on walk on 121:
if block 2 under player is {%argument 3%::block}:
teleport player to {%argument 3%::lobby}
send "{@tag2} &7Zostales przeniesiony!"
stop
on walk on 121:
if block 2 under player is {%argument 3%:1:block}:
teleport player to {%argument 3%:1:lobby}
send "{@tag2} &7Zostales przeniesiony!"
stop
P.S nie zrobilem jeszcze z podstawianiem blokow komendy
Pytanie
UnFriendPL_ 1
Siemka,
pomoze mi ktos z tymi zmiennymi ? tzn. nie wiem w czym jest blad bo gdy dodaje te przykladowe test. w {test.%argument 3%::block} to i tak wyskakuje cos.
https://imgur.com/a/bsNj0
ss bledu
P.S nie zrobilem jeszcze z podstawianiem blokow komendy
Edytowane przez UnFriendPL_Odnośnik do komentarza
https://skript.pl/temat/26378-teleporty/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi