mIRC Home    About    Download    Register    News    Help

Print Thread
#5941 10/01/03 04:31 PM
Joined: Dec 2002
Posts: 27
G
GTS Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Dec 2002
Posts: 27
How can i get it?

Code:
on *:SENDFAIL:*.*: {
  set %GTS.LastFailedSend  $filename $+ * $+ $nick $+ * $+ $network
  if (%GTS.Opt.SeperateDCCWindow == 1) {
    ; nothing yet
  }
  else {
    echo -a $iif(%GTS.Opt.Timestamp == 1,[ [ %GTS.TimeStamp.msg ] ] ,) $+ 4>>DCC Send!14 of $&
      4( $+ $nopath($filename) $+ 4) to 14 $+ $nick $+  Incomplete. 4( $+ [color:red]errormessage[/color] $+ 4) Press 4F4 to resend.
  }
  haltdef
}


All i want, is the real errormessage. Like "connection timed out" or so ...


proud to be baka
--> GTSdll Homepage <--
Joined: Jan 2003
Posts: 4
N
Self-satisified door
Offline
Self-satisified door
N
Joined: Jan 2003
Posts: 4
To my knowledge, you’ll just have to look for the errors.

If a send timed out, the $send($nick).cps and $send($nick).pc will be zero ($send($nick).secs will return the DCC connect time out amount, but the user could change this via mIRC Options).

Use on QUIT or on PART to be more specific will error messages if you want (User quit IRC etc..). In general, anything else than a time out mIRC just displays failed.


Ninth
DrK RaDiO [Soon...]
Joined: Dec 2002
Posts: 27
G
GTS Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Dec 2002
Posts: 27
Mh, i guess i'll do that then.

Thanks.


proud to be baka
--> GTSdll Homepage <--

Link Copied to Clipboard