mIRC Home    About    Download    Register    News    Help

Print Thread
#55903 18/10/03 08:37 PM
Joined: Dec 2002
Posts: 295
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 295
Ok i was lucky or unlucky as the case may be to get the following error (yet again)

[21:09] * [10053] Software caused connection abort


I had been reading the mirc help file a few days ago and found the "On Error" event, i quickly made the following code, incase i did recieve the following error i could be visually notified.

Code:
on *:error:*[10053] Software caused connection abort*:/dialog -m abort abort

dialog abort {
  title "[mIRC Error]"
  size -1 -1 100 30
  option dbu
  text "[10053] Software caused connection abort", 1, 2 2 96 8, center
  button "Close", 2, 30 13 37 12, ok cancel
}


This does not popup the above dialog when i recieved the error, i looked at the help file again just to make sure it was correct, the file says that the event trigger is much like the "On Text" event.

If i type "/dialog -m abort abort" in the command line i get my dialog popped up on screen, but i would rather have a nice dialog that tells me when i get the error instead of an unpleasent surprise when i go to type something and i get that i`m not connected.

My Question is Why doesnt this event work ?

Note: if i do get this working, i plan on making a better dialog

Thanks inadvance
ShadowDemon
mIRC V6.12

Last edited by shadowdemon; 18/10/03 08:51 PM.

Never argue with an idiot...they'll drag you down to their level and beat you up with experience
#55904 18/10/03 09:02 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
That error number and message is not sent by the server, and on error is only for server sent error messages.

#55905 18/10/03 09:05 PM
Joined: Dec 2002
Posts: 295
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 295
Oh right, sorry didnt realise, guess i`ll have to script a new dialog for "On Disconnect" event then

Thanks for explaining that for me.

ShadowDemon


Never argue with an idiot...they'll drag you down to their level and beat you up with experience

Link Copied to Clipboard