I will try my compare-strings work which seems quite facepalming as I checked other ones being proffesional and I would agree that I would need a better system if my character would have way too much abilities.
Though there are still ways to get around for me, for example, the last string of array being Punch, I could check for other arrays having punch at the end etc.
Ofcourse things could get complicated if I was making a game like Tekken, where the character named King got 128+ moves.
Thank you once again.