You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DLF.Win.Log Server ctcp %chan$nick DCC Send from $nick rejected (invalid parameters) - $qt(%origfn) exists but "mIRC Options / DCC / If file exists" is set to "Cancel".
2015
+
return
2010
2016
}
2017
+
if ((%ifFileExists== Resume) && ($file(%pathfile).size>0)) %starting = resuming
2011
2018
}
2019
+
DLF.DccSend.AddAccepted%fn
2020
+
var%secs86400 - $hget(DLF.dccsend.requests,%req)
2012
2021
DLF.Win.Log Server ctcp %chan$nick DCC Get of $qt(%origfn) from $nick%starting$br(waited $duration(%secs,3))
2013
2022
}
2014
2023
@@ -2067,13 +2076,12 @@ alias -l DLF.DccSend.FileRcvd {
2067
2076
if (%req==$null) return
2068
2077
.hdel DLF.dccsend.requests %req
2069
2078
var%chan$gettok(%req,2,$asc(|))
2070
-
var%dur$get(-1).secs
2071
2079
var%trig$gettok(%req,3,$asc(|))
2072
2080
var%origfn$decode($gettok(%req,5,$asc(|)))
2073
2081
if (%origfn==$null) %origfn = %fn
2074
2082
DLF.DccSend.RetryDelete%trig%origfn
2075
-
var%bytes$get(-1).rcvd/ %dur
2076
-
DLF.Win.Log Server ctcp %chan$nick DCC Get of $qt(%origfn) from $nick complete $br($duration(%dur,3)$bytes(%bytes,3).suf$+ /Sec)
2083
+
var%bytes$get(-1).rcvd- $get(-1).resume
2084
+
DLF.Win.Log Server ctcp %chan$nick DCC Get of $qt(%origfn) from $nick complete $br(100% done - $bytes(%bytes,3).suf in $duration($get(-1).secs,3) = $bytes($get(-1).cps,3).suf$+ /Sec)
2077
2085
; Some servers change spaces to underscores
2078
2086
; But we cannot rename if Options / DCC / Folders / Command is set
2079
2087
; because it would run after this using the wrong filename
@@ -2129,10 +2137,13 @@ alias -l DLF.DccSend.GetFailed {
DLF.Win.Log Server ctcp %chan$nick DCC Get of $qt(%origfn) from $nick incomplete $br(%percent$+ % done - $bytes(%bytes).suf received in $duration($get(-1).secs,3) = $bytes($get(-1).cps).suf$+ /Sec) %retrying
2146
+
if (%resume!isin Resume Ask) DLF.Win.Log Server Warning %chan$nick To improve your chances of downloading the whole file, set "mIRC Options / DCC / If file exists" to allow mIRC to resume receiving the file from the point it just failed rather than starting again.
2136
2147
if (xdcc-* iswm%trig) %trig = $null
2137
2148
if (%retry) DLF.Chan.EditSend%chan%trig$decode($gettok(%req,5,$asc(|)))
2138
2149
}
@@ -5957,16 +5968,16 @@ alias -l shortjoinsparts return $DLF.mIRCini(options,2,19)
0 commit comments