Hi all,
I have this script:
But when reloading the script it says:
What is wrong there?
And one more thing:
how can I name an item when the item is a variable?
this does not work:
I have this script:
code_language.skript:
options:
sword_material: wooden sword,stone sword,iron sword,golden sword,diamond sword
command /mytest [<text>]:
trigger:
set {_material::*} to "{@sword_material}" split at ","
set {_item} to a random object ouf of {_material::*}
give {_item} to player
But when reloading the script it says:
What is wrong there?
And one more thing:
how can I name an item when the item is a variable?
this does not work:
code_language.skript:
set {_mt} to an iron sword
set {_mt}'s name to "&dTESTITEM"
give {_mt} to player
Last edited: