If you look in the videos section of the Machsupport website, there's a tutorial video on writing a tool change macro, and the sample macro used in the video is available for download.
If that's not enough, you may need to pay someone to write a macro for you.