bitchx/script/auto_resume

10 lines
177 B
Plaintext

^on ^dcc_connect "? ? ? ? ? ?"
{
@:old_autoget = [$DCC_AUTOGET]
^set dcc_autoget off
if (fexist($DCC_DLDIR/$4) && $5 > 0)
//dcc resume $0
^set dcc_autoget $old_autoget
}