Hello 
I'm using a function through a GUI to declare the level of an enchantment, but this variable can have a lot of different values (from 0 to 36) and I wouldn't be able to list every single enchantment on the code, therefore I have to use this code:
The problem is that Skript does not recognize or does not accept this variable in this position. What could I do?
{_level} is already parsed as number.
I got it:
I'm using a function through a GUI to declare the level of an enchantment, but this variable can have a lot of different values (from 0 to 36) and I wouldn't be able to list every single enchantment on the code, therefore I have to use this code:
Code:
enchant {_p}'s tool with bane of arthropods {_level}
The problem is that Skript does not recognize or does not accept this variable in this position. What could I do?
{_level} is already parsed as number.
I got it:
Code:
enchant player's tool with "bane of arthropods %{_lvl}%" parsed as enchantment type
Last edited: