Two
ends are for
if and one is, I think, for
for.
Yeah, I set those settings for testing purposes, it can be changed to anything.
Anyway, I had no idea that medals can be edited in Editor, (silly me

)so thanks a bunch for letting me know. This way, there actually might be a chance to make this work.
Now, I don't know which function to use... There is this great Russian site that lists all (or most of) the lua functions, but ever since I reinstalled my windows, I erased it from my browser's history and can't find it.
If anyone knows how to find it, it would really help me.