Witam mam taki problem iż ten skrypt nie chcę działać i niewiem jak naprawić.Informuję iż jestem początkujący w pisaniu skryptów.
Oto kod :
command /ox [<text>]:
trigger:
if argument 1 is not set:
send "&eKomendy:"
send "&e/ox start"
send "&e/ox stop"
if argument 1 is "start":
set {OX} to true
send "&aWLACZONO POMYSLNIE OX" to player
every tick:
If {OX} is true:
send "[&4&lEVENT&r]&eOX JUZ JEST DOSTEPNY!&a/WARP OX" to all players
if argument 1 is "stop"
set {OX} to false
send "&cWYLACZONO POMYSLNIE OX" to player
Wyskakuję mi błąd w consoli serwera:
[16:04:35 ERROR]: [Skript] Unexpected entry 'If {OX} is true'. Check whether it's spelled correctly or remove it. (ox.sk, line 11: If {OX} is true:') [16:04:35 ERROR]: [Skript] can't understand this condition: 'every tick' (ox.sk, line 10: every tick:')
Pytanie
SzoMeK 0
Witam mam taki problem iż ten skrypt nie chcę działać i niewiem jak naprawić.Informuję iż jestem początkujący w pisaniu skryptów.
Oto kod :
command /ox [<text>]:
trigger:
if argument 1 is not set:
send "&eKomendy:"
send "&e/ox start"
send "&e/ox stop"
if argument 1 is "start":
set {OX} to true
send "&aWLACZONO POMYSLNIE OX" to player
every tick:
If {OX} is true:
send "[&4&lEVENT&r]&eOX JUZ JEST DOSTEPNY!&a/WARP OX" to all players
if argument 1 is "stop"
set {OX} to false
send "&cWYLACZONO POMYSLNIE OX" to player
Wyskakuję mi błąd w consoli serwera:
Edytowane przez SzoMeK[16:04:35 ERROR]: [Skript] Unexpected entry 'If {OX} is true'. Check whether it's spelled correctly or remove it. (ox.sk, line 11: If {OX} is true:') [16:04:35 ERROR]: [Skript] can't understand this condition: 'every tick' (ox.sk, line 10: every tick:')
Odnośnik do komentarza
Udostępnij na innych stronach
7 odpowiedzi na to pytanie
Rekomendowane odpowiedzi