Witam mam taki problem chce sb np zrobic komende na deszcz, slonce, dzien i noc w jednym ciągu sposobem "on command" kod wyglada tak:
on command:
if player has permission "moderator":
if command is "day":
set time in player's world to 06:00
send "&6Ustawiles dzien w swoim swiecie!"
stop
if command is "night":
set time in player's world to 22:00
send "&6Ustawiles noc w swoim swiecie!"
stop
if command is "sun":
set weather in player's world to sun
send "&6Ustawiles bezchmurna pogode w swoim swiecie!"
stop
if command is "rain":
set weather in player's world to rain
send "&6Ustawiles deszcz w swoim swiecie!"
stop
Po wpisaniu komenda normalnie działa jednak wysyła mi najpierw "Ustawiles dzien w swoim świecie" a potem "Unkown command. Type "/help" for help."
Pytanie
foxeik 13
Witam mam taki problem chce sb np zrobic komende na deszcz, slonce, dzien i noc w jednym ciągu sposobem "on command" kod wyglada tak:
on command:
if player has permission "moderator":
if command is "day":
set time in player's world to 06:00
send "&6Ustawiles dzien w swoim swiecie!"
stop
if command is "night":
set time in player's world to 22:00
send "&6Ustawiles noc w swoim swiecie!"
stop
if command is "sun":
set weather in player's world to sun
send "&6Ustawiles bezchmurna pogode w swoim swiecie!"
stop
if command is "rain":
set weather in player's world to rain
send "&6Ustawiles deszcz w swoim swiecie!"
stop
Po wpisaniu komenda normalnie działa jednak wysyła mi najpierw "Ustawiles dzien w swoim świecie" a potem "Unkown command. Type "/help" for help."
Jakis pomysł aby nie wyswietłało tego drugiego?
Odnośnik do komentarza
Udostępnij na innych stronach
16 odpowiedzi na to pytanie
Rekomendowane odpowiedzi