on join:
wait 5 seconds
remove 1 clock named "&8[&2SkyMagic&8] &8- &5Menu Wyboru" from player
give 1 clock named "&8[&2SkyMagic&8] &8- &5Menu Wyboru" to player
on rightclick with clock:
name of player's tool is "&8[&2SkyMagic&8] &8- &5Menu Wyboru"
trigger:
open chest with 4 rows named "&8[&2SkyMagic&8] &8- &5Menu Wyboru" to player
wait 5 tick
format slot 0 of player with 1 of bed item named "&bWyjdz z Menu" to close
format slot 8 of player with 1 of bed item named "&bWyjdz z Menu" to close
format slot 1 of player with 1 of grass named "&8[&5Tworzenie wyspy&8]" to close then run [execute player command "/wyspy"]
format slot 2 of player with 1 of dirt named "&8[&bWybor koloru pisania&8]" to close then run [execute player command "/kolor"]
format slot 3 of player with 1 of dirt named "&8[&2Wybor biomu wyspy&8]" to close then run [execute player command "/biomy"]
format slot 4 of player with 1 of diamond sword item named "&8[&4Teleport na PVP&8]" to close then run [execute player command "/pvp"]
format slot 5 of player with 1 of emerlad named "&8[&9Teleport do SKLEPU&8]" to close then run [execute player command "/sklep"]
format slot 6 of player with 1 of gold ingot item named "&8[&6Teleport na SPAWN&8]" to close then run [execute player command "/spawn"]
format slot 35 of player with 1 of bed item named "&aWyjdz z Menu" to close
command /wyspy [<text>]:
trigger:
open chest with 1 rows named "&6&lSchemat wyspy" to player
wait 5 tick
format slot 0 of player with 1 of bed item named "&aWyjscie z menu" to close
format slot 1 of player with 1 of grass named "&aWyspa Gracz" to close then run [execute player command "/island create Gracz"]
format slot 2 of player with 1 of emerald named "&aWyspa Premium" to close then run [execute player command "/island create Premium"]
format slot 3 of player with 1 of diamond named "&aWyspa Elite" to close then run [execute player command "/island create Elite"]
format slot 4 of player with 1 of gold ingot named "&aWyspa YouTube" to close then run [execute player command "/island create YouTube"]
format slot 8 of player with 1 of bed item named "&aWyjscie z menu" to close
command /sklep [<text>]:
trigger:
open chest with 1 rows named "&2Sklep i Skup" to player
wait 5 tick
format slot 0 of player with 1 of bed item named "&aWyjscie z menu" to close
format slot 8 of player with 1 of bed item named "&aWyjscie z menu" to close
format slot 3 of player with 1 of emerald named "&5&lS K L E P" to close then run [execute player command "/warps Sklep"]
format slot 5 of player with 1 of diamond named "&4&lS K U P" to close then run [execute player command "/warps Skup"]
Otóż po kliknięciu na zegarek nie pojawia się menu... I czasami wylatują z niego itemy... Naprawiłem wszystkie błędy i wytabowałem jednakże wyskakuje jeden ostateczny :
'trigger' is not a boolean (yes/no) (Wyspy.sk, line 8: trigger:')
Pytanie
Quintalinio 8
on join:
wait 5 seconds
remove 1 clock named "&8[&2SkyMagic&8] &8- &5Menu Wyboru" from player
give 1 clock named "&8[&2SkyMagic&8] &8- &5Menu Wyboru" to player
on rightclick with clock:
name of player's tool is "&8[&2SkyMagic&8] &8- &5Menu Wyboru"
trigger:
open chest with 4 rows named "&8[&2SkyMagic&8] &8- &5Menu Wyboru" to player
wait 5 tick
format slot 0 of player with 1 of bed item named "&bWyjdz z Menu" to close
format slot 8 of player with 1 of bed item named "&bWyjdz z Menu" to close
format slot 1 of player with 1 of grass named "&8[&5Tworzenie wyspy&8]" to close then run [execute player command "/wyspy"]
format slot 2 of player with 1 of dirt named "&8[&bWybor koloru pisania&8]" to close then run [execute player command "/kolor"]
format slot 3 of player with 1 of dirt named "&8[&2Wybor biomu wyspy&8]" to close then run [execute player command "/biomy"]
format slot 4 of player with 1 of diamond sword item named "&8[&4Teleport na PVP&8]" to close then run [execute player command "/pvp"]
format slot 5 of player with 1 of emerlad named "&8[&9Teleport do SKLEPU&8]" to close then run [execute player command "/sklep"]
format slot 6 of player with 1 of gold ingot item named "&8[&6Teleport na SPAWN&8]" to close then run [execute player command "/spawn"]
format slot 35 of player with 1 of bed item named "&aWyjdz z Menu" to close
command /wyspy [<text>]:
trigger:
open chest with 1 rows named "&6&lSchemat wyspy" to player
wait 5 tick
format slot 0 of player with 1 of bed item named "&aWyjscie z menu" to close
format slot 1 of player with 1 of grass named "&aWyspa Gracz" to close then run [execute player command "/island create Gracz"]
format slot 2 of player with 1 of emerald named "&aWyspa Premium" to close then run [execute player command "/island create Premium"]
format slot 3 of player with 1 of diamond named "&aWyspa Elite" to close then run [execute player command "/island create Elite"]
format slot 4 of player with 1 of gold ingot named "&aWyspa YouTube" to close then run [execute player command "/island create YouTube"]
format slot 8 of player with 1 of bed item named "&aWyjscie z menu" to close
command /sklep [<text>]:
trigger:
open chest with 1 rows named "&2Sklep i Skup" to player
wait 5 tick
format slot 0 of player with 1 of bed item named "&aWyjscie z menu" to close
format slot 8 of player with 1 of bed item named "&aWyjscie z menu" to close
format slot 3 of player with 1 of emerald named "&5&lS K L E P" to close then run [execute player command "/warps Sklep"]
format slot 5 of player with 1 of diamond named "&4&lS K U P" to close then run [execute player command "/warps Skup"]
Otóż po kliknięciu na zegarek nie pojawia się menu... I czasami wylatują z niego itemy... Naprawiłem wszystkie błędy i wytabowałem jednakże wyskakuje jeden ostateczny :
'trigger' is not a boolean (yes/no) (Wyspy.sk, line 8: trigger:')
Odnośnik do komentarza
Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi