Making skills that requires "Shield" equipped (using yanfly)

Is there a sorta javascript notetagging that makes a skill requires the actor to have and a shield equipped. I am not a javascript genius and I appreciate if anyone give a hand.
This script is what you need

http://yanfly.moe/2015/10/13/yep-8-skill-core/

Someone in this thread asked the same question. You could have found it if you looked. The thread will tell you how to make the effect you want from the script

https://forums.rpgmakerweb.com/index.php?threads/shield-required-to-use-skill.78807/
This is a question that comes up a lot regarding my shield block plugin, mostly for using the slam animations and stuff.

user.equips()[1] is the item held in the offhand slot of the actor. You can use the values on this object to enable or disable skills using skillcore, the plugin linked by Oddball.

More specifically, user.equips()[1].etypeId is the type of equipment the item is, and corresponds to the equipment list in your database. Type 1 is weapon, type 2 is shield, etc.

You can use this info to go a step further, and disable the skill if the offhand is empty, or if it contains a weapon instead of a shield.

Original thread: https://forums.rpgmakerweb.com/threads/making-skills-that-requires-shield-equipped-using-yanfly.113482/