Thanks for the reply.
I've never used the Boss protection mode. I had to look up what it did, but yeah it sounds like a great addition, if I get the rest working.
I was thinking of making a plugin for the BotDK plugin, instead as it has message sent events, but my plugin keeps crashing. BotDK even crashes when I compile the example project, so I've put it on hold for the moment.