MV Use Yanfly Skill Mastery to flip a switch

Ok so I am pretty new to the game making scene and pretty new to Javascript. I am using Yanfly's Skill Core and the add-ons that go with it. Here is a screen shot of the skill plug-ins I am using.
Spoiler: Plug-Ins
Screenshot (2).png

Here is my basic goal. I have an out of battle skill called first aid (for now) when it has been used a certain number of times I want the player to then go and get trained in a new skill lets call it first aid II for now. Basically, its a new skill that needs to be trained. (yes I am aware that I can modify skill parameters as they level up through mastery the point id for this to be a new skill entirely) Now I have the skill set up like so:
Spoiler: First-Aid
Screenshot (5).png

with the common event being referenced is the way that I am getting the mastery level to increase outside of battle.
Spoiler: Common Event
Screenshot (4).png

Now as you can see in the notetag for the skill I have

Code:
<After Eval>
if (user.skillMasteryLevel(11) >= 1) {
  $gameSwitches.setValue(5) = true;
}
<After Eval>

My understanding is that if the skill mastery level is greater than or equal to 1 than switch number 5 will be set to true the next time the skill is used. That switch will be tied to the new skill training event.

When I test this set up the out of battle mastery works just fine, but it won't throw the switch even if I am way above the level cap. Does anyone see any errors or do you know what I did wrong?
Should be $gameSwitches.setValue(5, true), also if Yanfly lunatic tags aren't firing off it's useful to check the console (F8) to see if there's javascript errors.
Ok I tried that fix and thanks for the (F8) comment. Like I said new and forget things. The fix still didn't work but the debug window that popped up is this
Spoiler: Error
Screenshot (7).png

I looked back at my notetag and it doesn't seem to have a random <, but I could be wrong.
Oh I see the issue now, you're supposed to use:
<After Eval>
code
</After Eval>
The closing tag must have a slash in front.
Your my hero! Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/use-yanfly-skill-mastery-to-flip-a-switch.130852/