mIRC Homepage
Wondering if its possible to trigger a custom command when clicking the mIRC disconnect icon?
There is not. The On Disconnect event will trigger when you are disconnected, though.

This is also a question for the Scripts & Popups forum, unless you've tried all other options and want to phrase your post as a feature request with arguments stating why.

https://forums.mirc.com/ubbthreads.php/forums/5/1/Scripts_&_Popups
I want when i hit 'disconnect' button, it quits with a random quote...

So far, only a custom '/quit' command works.
Options (Alt+O) -> IRC -> Messages -> Quit message: $read(quits.txt,n)

Ask for help in #mIRC or ##mIRC or the Scripts & Popups forum.
thanks!
© mIRC Discussion Forums