as for the thrid question yes you can send the WM_COMMAND message directly to simlate menu item clicks. However you msut know the id of the menu item and theres nothing regulating these mirc can change them whimsically on every build if khaled so chose. He has been known to change classnames as well as child id's in the past so be carefull there.
Well you can then get the menu id at runtime rather than hardcoding it. Basically use a loop of GetMenuItemString, check for the string of the command you want, then if it is the one you want, call GetMenuItemID on that menu index to get the ID of the menu.