I want to run a script that decides wether or not to accept a dcc get request. In other words, that runs before the transfer truly starts. And not, only *after* it concludes as does the "on FILERCVD".
Ctcp *:dcc send *:?:{
if (we want $filename) {
var %sreq = $sreq
; set mirc to automatically accept this file
.sreq auto
; and immediately restore previous settings
.timer 1 0 .sreq %sreq
}
else {
; reject the file (can also be /dcc reject)
halt
}
}