Strange parsing error I think?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Blep

Member
Jun 23, 2020
14
0
1
Why would it do this? I'm basically parsing the same thing but I'm getting different results? No errors, does anyone know how to fix this?

code_language.skript:
message "%{smeltOres.%type of event-block%}%" to event-player
message "%{smeltOres.iron ore}%" to event-player
message "%type of event-block%" to event-player

weird1.png
 
This only gets weirder. I used this function and broke an ore manually, and it works as intended. It outputs exactly the same, could this be a skript bug?
weird2.png
 
Why would it do this? I'm basically parsing the same thing but I'm getting different results? No errors, does anyone know how to fix this?

code_language.skript:
message "%{smeltOres.%type of event-block%}%" to event-player
message "%{smeltOres.iron ore}%" to event-player
message "%type of event-block%" to event-player

View attachment 8736
List variables are better/easier when it comes to handling variable storage. This is probably why {smeltOres.%type of event-block%} is less effective to use compared to {smeltOres::%type of event-block%}.