I'm making an IRC bot in Ruby, and I need it to use DCC. But after reading through the spec and studying the messages sent by irssi I'm still confused. According to Wikipedia the syntax for sending a file is:
Code:
PRIVMSG <nick> :^ADCC SEND <filename> <ip> <port> <file size>^A
But the message that gets sent when I actually try to send a file is:
Code:
PRIVMSG <nick> :^ADCC SEND bot.rb 3232236034 55433 622^A
None of these numbers correspond to any of the supposed arguments. Can anyone help?