mIRC Homepage
Posted By: DeathWolf Do online command on exit - 13/09/07 11:34 PM
I would like to find a way to run one last command when closing mirc, before it disconnects everything...
Does anyone see a way to do that?

on exit seems to only act after all server connections get disconnected...

DeathWolf
Posted By: Riamus2 Re: Do online command on exit - 14/09/07 12:05 AM
on DISCONNECT should do what you need.
Posted By: DeathWolf Re: Do online command on exit - 14/09/07 09:07 PM
Sadly on disconnect seems to act after the disconnection too:(
(which isnt surprising since it's triggered by the disconnection itself)
Posted By: LonDart Re: Do online command on exit - 14/09/07 09:30 PM
My first guess is you'll have to alias it, then force yourself
into a new habit of typing that command rather than /exit.

Something like
Code:
alias finis {
  one-more-thing-before-I-go command
  .timer 1 0 exit
}

The timer may be overkill, depending on your 'last thing'.
© mIRC Discussion Forums