On dccserver is not suitable for sends over IRC. It only works in conjunction with an enabled DCC server that listens to direct connections (IP to IP).

This script auto-accepts files on Undernet and displays the Get Dialog for other networks:
  • Ctcp *:dcc send *:?:{
    if $network == Undernet {
    .sreq auto
    .timer 1 0 .sreq ask
    }
    }