I appended the code you gave me to the bottom of the plugin and tried to run compile.exe but it came up with some errors and I never saw the .smx file in the compiled folder.
Take a look at the attatchment.
I've also uploaded the source of the mod I'm trying to create a menu for. (Left Fort Dead by Boikinov
URL
your code starts at line 735 when I have it appended to the end. The source I uploaded here, does not have it added...