Dodatki Skript i ich wersje: SkBee 3.14.0, skquery 4.3.2
Kod skryptu
options:
prefix: &8[&6SetCreator&8]
command /stworzset <text> <text> <number> <text>:
permission: stworz.admin
usage: {@prefix} &7Użycie: &e/stworzset <nazwa1> <nazwa2> <lvl> <enchant>
trigger:
set {_lvl} to argument 3
set {_ench} to argument 4
set {_name} to "%colored argument 1% %colored argument 2% &6&l✪%{_lvl}%"
# =========================
# HELM
# =========================
set {_helm} to diamond helmet
add protection {_ench} to {_helm}
add unbreaking {_ench} to {_helm}
set name of {_helm} to {_name}
set lore of {_helm} to "&8» &x&A&9&0&0&F&F[&x&B&1&0&7&F&D❤&x&B&9&0&F&F&A] &x&C&8&1&D&F&6O&x&D&0&2&4&F&3c&x&D&8&2&C&F&1h&x&E&0&3&3&E&Er&x&E&8&3&A&E&Co&x&E&F&4&1&E&An&x&F&7&4&9&E&7a %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%"
# =========================
# KLATA
# =========================
set {_klata} to diamond chestplate
add protection {_ench} to {_klata}
add unbreaking {_ench} to {_klata}
set name of {_klata} to {_name}
set lore of {_klata} to "&8» &x&A&9&0&0&F&F[&x&B&1&0&7&F&D❤&x&B&9&0&F&F&A] &x&C&8&1&D&F&6O&x&D&0&2&4&F&3c&x&D&8&2&C&F&1h&x&E&0&3&3&E&Er&x&E&8&3&A&E&Co&x&E&F&4&1&E&An&x&F&7&4&9&E&7a %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%"
# =========================
# SPODNIE
# =========================
set {_spodnie} to diamond leggings
add protection {_ench} to {_spodnie}
add unbreaking {_ench} to {_spodnie}
set name of {_spodnie} to {_name}
set lore of {_spodnie} to "&8» &x&A&9&0&0&F&F[&x&B&1&0&7&F&D❤&x&B&9&0&F&F&A] &x&C&8&1&D&F&6O&x&D&0&2&4&F&3c&x&D&8&2&C&F&1h&x&E&0&3&3&E&Er&x&E&8&3&A&E&Co&x&E&F&4&1&E&An&x&F&7&4&9&E&7a %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%"
# =========================
# BUTY
# =========================
set {_buty} to diamond boots
add protection {_ench} to {_buty}
add unbreaking {_ench} to {_buty}
set name of {_buty} to {_name}
set lore of {_buty} to "&8» &x&A&9&0&0&F&F[&x&B&1&0&7&F&D❤&x&B&9&0&F&F&A] &x&C&8&1&D&F&6O&x&D&0&2&4&F&3c&x&D&8&2&C&F&1h&x&E&0&3&3&E&Er&x&E&8&3&A&E&Co&x&E&F&4&1&E&An&x&F&7&4&9&E&7a %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%"
# =========================
# MIECZ
# =========================
set {_miecz} to diamond sword
add sharpness {_ench} to {_miecz}
add unbreaking {_ench} to {_miecz}
add fire aspect 2 to {_miecz}
set name of {_miecz} to {_name}
set lore of {_miecz} to "&8» &x&A&C&0&0&0&0[&x&B&4&0&4&0&4☠&x&B&D&0&8&0&8] %{_lvl}%", and "&8» &x&F&F&6&7&0&0[&x&F&F&6&B&0&0&x&F&F&7&0&0&0] %{_lvl}%", and "&8» &x&F&F&F&F&F&F[&x&F&F&F&F&F&F🛡&x&F&F&F&F&F&F] %{_lvl}%"
# =========================
# KILOF
# =========================
set {_kilof} to diamond pickaxe
add efficiency {_ench} to {_kilof}
add fortune {_ench} to {_kilof}
add unbreaking {_ench} to {_kilof}
set name of {_kilof} to {_name}
set lore of {_kilof} to "&8» &x&F&F&E&E&0&0[&x&F&F&E&F&0&C⛏&x&F&F&F&0&1&9] %{_lvl}%", and "&8» &x&0&E&F&F&0&0[&x&1&8&F&F&0&A♣&x&2&2&F&F&1&4] %{_lvl}%", and "&8» &x&F&F&F&F&F&F[&x&F&F&F&F&F&F🛡&x&F&F&F&F&F&F] %{_lvl}%"
# =========================
# MOTYKA
# =========================
set {_motyka} to diamond hoe
add efficiency {_ench} to {_motyka}
add unbreaking {_ench} to {_motyka}
set name of {_motyka} to {_name}
set lore of {_motyka} to "&8» &x&F&F&E&E&0&0[&x&F&F&E&F&0&C⛏&x&F&F&F&0&1&9] %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%", and "&8» &x&F&F&F&F&F&F[&x&F&F&F&F&F&F🛡&x&F&F&F&F&F&F] %{_lvl}%"
# =========================
# GIVE SET
# =========================
give player {_helm}
give player {_klata}
give player {_spodnie}
give player {_buty}
give player {_miecz}
give player {_kilof}
give player {_motyka}
play sound "entity.experience_orb.pickup" at player
send title "" with subtitle "&aPomyślnie stworzono cały set!" to player
Opis problemu
Czy moze ktos mi prosze pomoc z tym skryptem? probuje juz chyba 5 dzien sie z nim uporac a dalej nie dziala nadawanie enchantow na przedmiot!!! wyskakuje blad w kazdej linijce z nadawaniem enchantu na przedmiot "cant understand this condition"
Pytanie
sukinkot241 0
Podstawowe informacje
Kod skryptu
options: prefix: &8[&6SetCreator&8] command /stworzset <text> <text> <number> <text>: permission: stworz.admin usage: {@prefix} &7Użycie: &e/stworzset <nazwa1> <nazwa2> <lvl> <enchant> trigger: set {_lvl} to argument 3 set {_ench} to argument 4 set {_name} to "%colored argument 1% %colored argument 2% &6&l✪%{_lvl}%" # ========================= # HELM # ========================= set {_helm} to diamond helmet add protection {_ench} to {_helm} add unbreaking {_ench} to {_helm} set name of {_helm} to {_name} set lore of {_helm} to "&8» &x&A&9&0&0&F&F[&x&B&1&0&7&F&D❤&x&B&9&0&F&F&A] &x&C&8&1&D&F&6O&x&D&0&2&4&F&3c&x&D&8&2&C&F&1h&x&E&0&3&3&E&Er&x&E&8&3&A&E&Co&x&E&F&4&1&E&An&x&F&7&4&9&E&7a %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%" # ========================= # KLATA # ========================= set {_klata} to diamond chestplate add protection {_ench} to {_klata} add unbreaking {_ench} to {_klata} set name of {_klata} to {_name} set lore of {_klata} to "&8» &x&A&9&0&0&F&F[&x&B&1&0&7&F&D❤&x&B&9&0&F&F&A] &x&C&8&1&D&F&6O&x&D&0&2&4&F&3c&x&D&8&2&C&F&1h&x&E&0&3&3&E&Er&x&E&8&3&A&E&Co&x&E&F&4&1&E&An&x&F&7&4&9&E&7a %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%" # ========================= # SPODNIE # ========================= set {_spodnie} to diamond leggings add protection {_ench} to {_spodnie} add unbreaking {_ench} to {_spodnie} set name of {_spodnie} to {_name} set lore of {_spodnie} to "&8» &x&A&9&0&0&F&F[&x&B&1&0&7&F&D❤&x&B&9&0&F&F&A] &x&C&8&1&D&F&6O&x&D&0&2&4&F&3c&x&D&8&2&C&F&1h&x&E&0&3&3&E&Er&x&E&8&3&A&E&Co&x&E&F&4&1&E&An&x&F&7&4&9&E&7a %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%" # ========================= # BUTY # ========================= set {_buty} to diamond boots add protection {_ench} to {_buty} add unbreaking {_ench} to {_buty} set name of {_buty} to {_name} set lore of {_buty} to "&8» &x&A&9&0&0&F&F[&x&B&1&0&7&F&D❤&x&B&9&0&F&F&A] &x&C&8&1&D&F&6O&x&D&0&2&4&F&3c&x&D&8&2&C&F&1h&x&E&0&3&3&E&Er&x&E&8&3&A&E&Co&x&E&F&4&1&E&An&x&F&7&4&9&E&7a %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%" # ========================= # MIECZ # ========================= set {_miecz} to diamond sword add sharpness {_ench} to {_miecz} add unbreaking {_ench} to {_miecz} add fire aspect 2 to {_miecz} set name of {_miecz} to {_name} set lore of {_miecz} to "&8» &x&A&C&0&0&0&0[&x&B&4&0&4&0&4☠&x&B&D&0&8&0&8] %{_lvl}%", and "&8» &x&F&F&6&7&0&0[&x&F&F&6&B&0&0&x&F&F&7&0&0&0] %{_lvl}%", and "&8» &x&F&F&F&F&F&F[&x&F&F&F&F&F&F🛡&x&F&F&F&F&F&F] %{_lvl}%" # ========================= # KILOF # ========================= set {_kilof} to diamond pickaxe add efficiency {_ench} to {_kilof} add fortune {_ench} to {_kilof} add unbreaking {_ench} to {_kilof} set name of {_kilof} to {_name} set lore of {_kilof} to "&8» &x&F&F&E&E&0&0[&x&F&F&E&F&0&C⛏&x&F&F&F&0&1&9] %{_lvl}%", and "&8» &x&0&E&F&F&0&0[&x&1&8&F&F&0&A♣&x&2&2&F&F&1&4] %{_lvl}%", and "&8» &x&F&F&F&F&F&F[&x&F&F&F&F&F&F🛡&x&F&F&F&F&F&F] %{_lvl}%" # ========================= # MOTYKA # ========================= set {_motyka} to diamond hoe add efficiency {_ench} to {_motyka} add unbreaking {_ench} to {_motyka} set name of {_motyka} to {_name} set lore of {_motyka} to "&8» &x&F&F&E&E&0&0[&x&F&F&E&F&0&C⛏&x&F&F&F&0&1&9] %{_lvl}%", and "&8» &x&4&4&9&8&D&B[&x&4&7&9&C&D&D🛡&x&4&B&A&1&D&F] %{_lvl}%", and "&8» &x&F&F&F&F&F&F[&x&F&F&F&F&F&F🛡&x&F&F&F&F&F&F] %{_lvl}%" # ========================= # GIVE SET # ========================= give player {_helm} give player {_klata} give player {_spodnie} give player {_buty} give player {_miecz} give player {_kilof} give player {_motyka} play sound "entity.experience_orb.pickup" at player send title "" with subtitle "&aPomyślnie stworzono cały set!" to playerOpis problemu
Czy moze ktos mi prosze pomoc z tym skryptem? probuje juz chyba 5 dzien sie z nim uporac a dalej nie dziala nadawanie enchantow na przedmiot!!! wyskakuje blad w kazdej linijce z nadawaniem enchantu na przedmiot "cant understand this condition"
Odnośnik do komentarza
https://skript.pl/temat/59021-problem-z-enchantami-w-skrypcie-pilne/Udostępnij na innych stronach
7 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.