mIRC Home    About    Download    Register    News    Help

Print Thread
Disconnect icon -> triggering custom command #259982 16/02/17 09:00 PM
Joined: Aug 2015
Posts: 35
_
_entropy Offline OP
Ameglian cow
OP Offline
Ameglian cow
_
Joined: Aug 2015
Posts: 35
Wondering if its possible to trigger a custom command when clicking the mIRC disconnect icon?

Last edited by _entropy; 16/02/17 09:05 PM.

mIRC Scripts Website: https://mircscripts.net - Register today!
Re: Disconnect icon -> triggering custom command [Re: _entropy] #259986 17/02/17 12:23 AM
Joined: Feb 2003
Posts: 2,662
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,662
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.

http://forums.mirc.com/ubbthreads.php/forums/5/1/Scripts_&_Popups


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Disconnect icon -> triggering custom command [Re: Raccoon] #259988 17/02/17 06:14 AM
Joined: Aug 2015
Posts: 35
_
_entropy Offline OP
Ameglian cow
OP Offline
Ameglian cow
_
Joined: Aug 2015
Posts: 35
I want when i hit 'disconnect' button, it quits with a random quote...

So far, only a custom '/quit' command works.

Last edited by _entropy; 17/02/17 06:15 AM.

mIRC Scripts Website: https://mircscripts.net - Register today!
Re: Disconnect icon -> triggering custom command [Re: _entropy] #259989 17/02/17 06:43 AM
Joined: Feb 2003
Posts: 2,662
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,662
Options (Alt+O) -> IRC -> Messages -> Quit message: $read(quits.txt,n)

Ask for help in #mIRC or ##mIRC or the Scripts & Popups forum.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Disconnect icon -> triggering custom command [Re: Raccoon] #259990 17/02/17 06:51 AM
Joined: Aug 2015
Posts: 35
_
_entropy Offline OP
Ameglian cow
OP Offline
Ameglian cow
_
Joined: Aug 2015
Posts: 35
thanks!


mIRC Scripts Website: https://mircscripts.net - Register today!