I think it is working now lol
txt file shows
1,8,5
2,16,10
1 is the level of your object, 8 is how much experience you need to upgrade your object, 5 is the character level requirement. And I tested, it is working. if I have 8 experience, and character is level 5, it upgrades object to level 1 :) and if character is at level 10, and has 16 experience it upgrades object to level 2
Thank you so much for your help :)