Is there a script call to check the scope of a skill?

Is there a script call to check the scope of an item or skill?


Inquiring minds(me) would like to know.
item.scope


where item is $dataItems[id]


and scope starts at 0 for None and goes up by 1 for each item in the list (so 1 Ally will be 7)
Okay cool, thank you.
sorry - you could also use $dataSkills[id].scope if you want to look at a skill (or if you have it in a variable called skill it would be skill.scope)

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-script-call-to-check-the-scope-of-a-skill.73209/