It can't be the whole plugin because you have removed some things like custom includes.
I tested both the message by itself, and your plugin with the undefined funcs commented out. Both work fine.
Also FYI not going to work until game commencing.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.