mIRC Home    About    Download    Register    News    Help

Print Thread
#48732 11/09/03 12:56 PM
Joined: Mar 2003
Posts: 160
Marantz Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2003
Posts: 160
I don't know if this has happened on previous mIRC versions without scripts or not, but i usually script a prefix for everything
ie; --- logged on to -[server/port]-
just to make it a bit tidier, now on mIRC 6.1 i get this in the status window when i disconnect
ERROR Closing Link: dial-62-64-223-51.access.uk.tiscali.com (Client exited)
and i can't seem to find a way to add a prefix infront of it
nor have i even seen it before, unless i had scripted it, but i just loaded the same ini file i had in the previous mIRC, any ideas? crazy

#48733 11/09/03 01:06 PM
Joined: Jun 2003
Posts: 242
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
/help ON ERROR

#48734 11/09/03 01:16 PM
Joined: Mar 2003
Posts: 160
Marantz Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2003
Posts: 160
I have that in there, as it works, for instance i'm an oper on a network and i did a kline and the on error event worked fine.
Just not for a self disconnection. frown

#48735 11/09/03 01:18 PM
Joined: Jun 2003
Posts: 242
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
Code:
on ^*:ERROR:*closing link*: {
  echo $color(info) -at * Disconnected from $server
  haltdef
}

Last edited by r0ck0; 11/09/03 01:28 PM.
#48736 11/09/03 01:25 PM
Joined: Mar 2003
Posts: 160
Marantz Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2003
Posts: 160
lol you're not grasping this, i've tested every possiblitiy i could think of, it doesn't work, the on error event has nothing to do with it.

#48737 11/09/03 01:27 PM
Joined: Jun 2003
Posts: 242
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
lol
ERROR Closing Link: dial-62-64-223-51.access.uk.tiscali.com (Client exited)

look .. that is an error message sent to your client by the server that would trigger the ON ERROR event .. if it's not working then you're not doing it right [/help]

#48738 11/09/03 01:31 PM
Joined: Mar 2003
Posts: 160
Marantz Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2003
Posts: 160
er, find an oper on a network, and get them to type /kill and the on error event works with my prefix and everything, but manual disconnection echoes it without a prefix making it look
well.. not how i want, i just tested it on old mIRC versions and it doesn't do it.
a plain mIRC 6.1 does it with or without your event
so it doesn't do anything
it doesn't even echo Disconnected from $server
so how can it work?

Last edited by Marantz; 11/09/03 01:34 PM.
#48739 11/09/03 01:33 PM
Joined: Jun 2003
Posts: 242
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
try ON DISCONNECT also

#48740 11/09/03 01:38 PM
Joined: Mar 2003
Posts: 160
Marantz Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2003
Posts: 160
lol it doesn't work


Link Copied to Clipboard