I haven't had mIRC in a number of years so needless to say I've forgotten quite a lot about scripting. I'm planning on making an away system and would love some help with just two things.

I'm going to have it in a channel popup menu, which is easy enough to make. It'll have the menu Away, and as submenus On and Off. Whenever I choose one, I'd like to know how to place a checkmark beside whichever option is chosen.

Also, whenever I come back (choose Off) I'd like it to let me know how long I've been away in hours/minutes/seconds.

Any help will be greatly appreciated. These two factors will benefit me for something larger I'm making.