Code: Select all
PRIVMSG <target nick> :\1DCC CHAT chat <IP> <port>\1
<IP> is the IP address you request that the target connect to
<port> is the port that they should connect to.
DCC requests are set up for the security of the user who is being asked to connect. the actuall connection is opened by the target, not the person requesting. the protocol requires that the target open a connection with that designated port at that designated IP, if the request is accepted. because of the way NAT firewalls work, when the bot tries to open a connection to your external IP from inside, it fails.
basicly, DCC chat requests are just CTCP requests...and CTCP messages are just PRIVMSG (/msg)...mIRC and other clients just use the \1 character to signal a special meaning.
one good way to lear about how to form a DCC request (and be able to copy and paste it with the internal IP) is by using a debug window in mIRC.
/debug -np @moo
this gives you a raw view of all input and output for mIRC.
hope this helps make some sense of it all
roland