May as well alias yourself out of this one smile

This will do what you want, once you edit TEXTDIR to point to your uh text file directory.
Code:
alias dcsnd {
  set -u0 %sendme $qt($$sfile($mircdirTEXTDIR*.txt,DCC $1,Send))
  set -u0 %fyle $nopath(%sendme)
  set -u0 %lines $lines(%sendme)
  notice $1 I am sending you %fyle $+ , Total $+(Lines,$chr(58)) %lines
  dcc send $1 %sendme
}
Usage: /dcsnd <nick>

Note that the select file dialog is not as pretty as the one you get directly with the dcc send command,
and doesn't have the DCC-specific options either.

I used /notice just because I prefer it. /msg either throws up a window with focus (most irritating),
or it sends it minimized to taskbar and I don't see it.
Notices on the other hand are shown in my active window, leaving only the DCC Get dialog to click on.

Last edited by LonDart; 08/03/07 10:47 AM.

LonDart