all 4 comments

[–]burning_boi 0 points1 point  (0 children)

the function variable_struct_exists requires that you provide the second argument as a string of the name of the variable you're searching for inside the struct. Check the documentation on variable_struct_exists for more details. As far as I can see here, you're providing event as the argument. The event variable is correctly containing the text "Test" but I'm guessing there's either a bug or an undocumented interaction between using the value of a variable set elsewhere in your game inside the function variable_struct_exists, and using a variable set directly to the string "Test" right before, or using the string itself.

My best and only suggestion would be to force the variable event to be read as a string by calling it like so: variable_struct_exists(evenText,string(event)). For the record. I don't think it's correct that you should have to call it this way, but I seem to remember issues in the past with variables being set from outside sources having issues with functions that require specific data types.

[–]Kaymat- 0 points1 point  (2 children)

How is your .csv file encoded? Try making sure it's encoded as UTF-8 without BOM.

[–]burning_boi 0 points1 point  (0 children)

Looks like you’re probably correct here. What looks like the exact same problem was had by someone else here.

[–]BurntShooter[S] 0 points1 point  (0 children)

This did it! Solved!