The best way of doing it these days is using a dll. For doing the toolbar you would most likely need to use 2 different dll files.
#1) hOS.dll to hide the original toolbar built into mirc
and
#2) mdx.dll to create the new toolbar
You can get both of these from
www.mircscripts.org