Skill Mastery Plugin

I cant seem to get the skill mastery plugin to increase mastery uses.
I've created an event in game and used the script battler.gainSkillMasteryUses(301, 1) like it states to do but this does nothing.
any help would be great
@Kaoticgam3rs Please edit your post to include a link to the webpage where you got the plugin. Without access to the plugin itself, no one can help you unless they just happen to have that particular plugin themselves.
If you used that exact code on an event, battler is most probably not defined...

Original thread: https://forums.rpgmakerweb.com/threads/skill-mastery-plugin.107405/