No easy way.
You can only check for specific abilities if the hero got them, but doing this for all abilities would use quite some performance.
You better create an ability array consisting of all abilities the hero could possibly have an iterate through it to decrease the number of checks needed.
Sadly its probably easier to do alot of comparisons using an Array storing the abilities as said above. That may take awhile though, also you will need to type the message code for each ability as there is no way to take the Name of the abilities and change it to String form as far as I know of. (The Raw Code maybe, not sure)
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!
I just got to watch the video because even though I was there I was trying to work out tech problems with the chat since I was the social media guy so I was distracted but check it out guys the video is super fucking great!
Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled