mIRC Homepage
Posted By: RooZy Send a message before quitting, - 05/02/08 06:34 AM
Hey all,
I connect to IRC via psyBNC, but when I disconnect from the BNC people don't know if I'm connected or not (because to them I'm just idling)
So I was wondering if there is a way when I close my client or type /quit, etc that it could send a message before it actually quits?

Thanks
Posted By: XTZGZoReX Re: Send a message before quitting, - 05/02/08 10:46 AM
Of course you could with /quit, but not when you hit the X.

Code:
alias quit {
  var %chans = 1
  while ( %chans <= $chan(0) ) {
    msg $chan(%chans) Goodbye!
    inc %chans
  }
  quit $1-
}
Posted By: Solo1 Re: Send a message before quitting, - 05/02/08 02:35 PM
you forgot /amsg and i would not name the alias /quit
Posted By: Collective Re: Send a message before quitting, - 05/02/08 05:23 PM
If you place a custom identifier in the Quit Message box in mIRC Options then the commands in that identifier will be performed before mIRC /quit's from the server.
Posted By: RooZy Re: Send a message before quitting, - 05/02/08 10:09 PM
Hey thanks, that worked great!
Posted By: foshizzle Re: Send a message before quitting, - 05/02/08 10:27 PM
try
Code:
/quit [message]
Posted By: RoCk Re: Send a message before quitting, - 05/02/08 10:38 PM

I'm not worthy.
© mIRC Discussion Forums