Step 1. Create the plugin. To do this, you need to use "mkplugin", which is a command line program:
mkplugin <plugin name>
example:
mkplugin myplugin
This will create a plugin named "MQ2Myplugin"
If you don't know how to use DOS, you should do this:
Start->Run: c:\mq2\mkplugin myplugin
But of course replace c:\mq2\ with wherever you have macroquest.
Step 2. Add the new plugin to your visual studio workspace (for retarded people, visual c++ is a part of visual studio, so this is the same thing as adding it to your visual c++ workspace). In VS .NET, go to File->Add Project->Existing project, and select the MQ2Myplugin.vcproj. In VS 6, ... I forget exactly, but its something equally easy, add project and select MQ2Myplugin.dsp.
Step 3. Open the MQ2Myplugin.cpp file. Select all of it, and replace it with the code you're copying
Step 4. Compile the plugin. If you cant figure this step out then you need to seek help elsewhere
Step 5. Load the plugin. Example: /plugin mq2myplugin
Enjoy
