SRD Battle End Common Events Bug

So, I'm trying to use SRD's battle end common events plugin and it's throwing out a bug.

For context, this is a "win" command and I've got the troop programmed on Turn 0 to issue the plugin command SetWinCommonEvent [5] which is, of course, set for common event 5 which is a conditional loot (basically, the first time the players beat a specific type of random encounter it will give them a key item, but won't give duplicates, so it's just a basic conditional branch to check if they have the item or not.

I've got a decent number of Yanfly plugins in place, so I don't know if there's a conflict with any of them, if there is can anyone recommend a plugin to run a common event at the end of a battle if the players won the fight (not on escape)?

bug.jpg
1st question, are your plug-ins in the right order? From the line up of errors I find it a little concerning.
Plugin link: http://sumrndm.site/battle-end-events/

The plugin command should be followed by a number, no brackets: SetWinCommonEvent 5.
It's always going to be something embarassingly simple isn't it? Thanks, that looks like exactly the problem.

Original thread: https://forums.rpgmakerweb.com/threads/srd-battle-end-common-events-bug.118646/