Code:
alias catch.dcc.send {
  if ($isid) {
    tokenize 32 $1-
    if ($1 $3 $5 $6 == -> PRIVMSG :DCC SEND) { echo -st DCC SEND .to. $3 of $7- }
    if ($1 $3 $5 $6 == <- PRIVMSG :DCC SEND) { echo -st DCC SEND from $3 of $7- }
  }
  else {
    debug -i nul catch.dcc.send
  }
}


* you well get info on .to. and from dcc's the second to last number with them is the port number, if its TO then its your port, if its FROM then its the port they want u to connect to them on.
* a good test is to dcc send yourself something, and see if the port number stays the same, if it changes its liekly your router altered it.
* numbers folloing the file name are longip port filesize