I have a user in my channel who does some logging for me, and he sends it to me using a /ctcp <nickname> <trigger> <username> <password> command
I want to make a script that would allow the bot to do this. Where in all essences, the nick, user and pass are fixed variables, and the trigger is a text that i enter after the dcc command.
ie
.sendlog !nov1104.txt
Would send the log file for the 11th november using his script. Is there a way of making the bot use this kind of command to trigger a dcc send this way?
1: The subject is misleading as you don't use ctcp for anything but to trigger a normal dcc send.
2: Variable != fixed
3: Let me get this straight.. You want the bot to send that ctcp and recieve the file when you do '.sendlog ...' on its partyline?
basically, yes. nickname, username and pass is fixed. Its just the filename that changes, wanted to put it in after the command as you do in pub commands.