The essence is the same as doing ab <skillset> <skill> command - if you get information about it back, then you have the skill.
Step one: ask for AB information by:
Step two: connect an event handler to gmcp.Char.Skills.Info event. When you receive it, check if gmcp.Char.Skills.Info.info is "" or not - if it is, then you don't have that skill - if it's the description of the skill, then you have it.
ie, I have the skill:
Code: Select all
table {
'group': 'discipline'
'skill': 'focusbody'
'info': 'Syntax: FOCUS BODY
Paralysis prevents you from doing anything, a nasty situation to be in. But all you need
do is move your little toe before movement returns. By focusing your entire will upon
your body, you can break out of paralysis, or the psionic ailments of leg lock or throat
lock.
'
Code: Select all
table {
'group': 'arts'
'skill': 'yellowtint'
'info': ''
}
Cons: skillsets like Tattoos will always tell you information about a skill, just like the ab command. Achaea also will always return the ABs.
The other way is via gmcp.Char.Skills.List - I'll let someone else post a tut on how to do that