Relative to the 2 question you need use Popups, and you can do that just pressing [ALT] + P, who will call the mIRC Editor in Popup Section.
There is were you do you own commands, but first you need to choose were you wanna your new popup, and for that click on "view", there will appear to you the following sections for you creat your popup:
*** Status
*** Channel
*** Chat/Query
*** NickList
*** MenuBar
Dependly what section you choose, is there will appear you popup!
Assume you wanna create a popup that appears on Status window, we will gonna choose these section ([ALT] + P > View > Status)
Then we will start our code, the sintax is that:
NameOfPopup:/commands
Ex:
Test:/echo -a Testing Popups
if you rigth-click on Status window, then will appear a popup called "test", and if you push it, will return a message "testing Popups".
That is a basic popup, if you wanna more elaborated popups, please read the mIRC Help file.
Thats all
*