/help CTCP
CTCP *:DCC SEND *:?:{ code here }
$1- is the line passed, there is also $nick and $filename on offer as well.
--edit--
$1 = DCC SEND filename 32bitIP port filesize
a warning on that filename may contain spaces so maybe more than one $n value
I fix this using
tokenize 62 $+(DCC>SEND>,$filename,>,$replace($gettok($1-,-3-,32),$chr(32),>))
Last edited by DaveC; 28/01/06 09:24 PM.