MV How to Use $gameMessage.add() so that it incorporates YEP Message Core?

I want to be able to write messages in code using Javascript but when I do it doesn't incorporate word wrap or message macros or any of the other Yanfly features that I know and love. Any ideas how I can add a message with a string so that the engine treats it as if I did it through the eventing system?
figured it out, its ".addText()"
Moved to: Plugin Support


Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/how-to-use-gamemessage-add-so-that-it-incorporates-yep-message-core.151663/