It can be made a lot shorter, but it wouldn't have the controls that I put in to that one.
I mean, you could use something as simple as
Code:
on *:text:!send*:*:{ dcc send -c $nick $$2-)  


But that won't give a response if there's no file supplied or if the file supplied doesn't exist.

In both of the codes that I've given, the full filename, including the extension, must be supplied by the person using the !send command