Forwarded message 
-----------------

Message-ID: <004a01c1a565$64fa4dd0$0a00000a@galadriel>
From: "juanii" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: scripting
Date: Fri, 25 Jan 2002 02:59:00 -0300

i'm programming a script for epic (4.1.0.1). basically it must send files on
demand, given a ctcp message to the server it must send the requested file
to the client via dcc.
everything's ok except that i can't make it send the file. the /dcc command
works very well when invoked from the command line, but if i use it inside
my script i get this message "[<nick> DCC reply]: SEND <filename> 2833414511
1130 2046" on the client irc software. so i tried to write a trivial piece
of code for testing, but i can't make it work, here's an example:

on ^ctcp * {
        /notice $0 you hit $1's $2 trigger with options "$3-"
        /sendRoutine $0 $2 $3
}

alias sendRoutine {
        /dcc send $0 /path/to/file
}

so is this the normal operation of the software? how i start a dcc send from
a script? i'll be very grateful if you can answer some of this questions!

---------------------
End forwarded message
_______________________________________________
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list

Reply via email to