the bot can recieve files from me, but i want to control him.
i want to specify the file type, file size, file name (incase i want him to recieve just the file which its name is file.txt) and so on. how can i do something like that?
bind ctcp DCC and handle SEND, checking the file name/extension/size; if it suits you, return 0 and the bot will proceed with receiving the file; if it doesn't, return 1 and receive is canceled