Page 1 of 1
Load/unload a plugin when you open/close a window?
Posted: Sat Aug 28, 2004 1:16 pm
by notadruid
I'd like to make it so MQ2Map loads when I open the cartography window and unloads when I close it. Is this possible?
Posted: Sat Aug 28, 2004 3:07 pm
by magictiger
Using the custom binds and aliases, you should be able to do this no problem. Interesting idea, by the way.
Posted: Sat Aug 28, 2004 4:28 pm
by Fippy
What a cool idea.
/custombind add mapplugin
/custombind set mapplugin /docommand ${If[${Window[MapViewWnd].Open},/plugin mq2map,/plugin mq2map unload]}
/bind mapplugin Backspace
Works like a charm