when some1 sends a file to u B4 u accept the file the ctcp event is triggered:
ctcp *:dcc send *:?:
$nick - the nick that sends the file
$3 - the filename