Ok, now I'll try to explain what I don't understand. You can send and recieve packets in C. They look like:

#define SOMETHING_LOGIN 0x000c

struct something login {
int uin; /* your id */
int hash; /* password hash */
int local_ip; /*ip */

};

This is how they look. I don't know how do you send them in C and that's not my problem. The case is that I want to send this packet trhough mIRC and don't know if it's possible (probably would involve binvars i guess). Or get such packet from host and *read* it actually - when i try to write it to a file it fills up with fuzzy characters. Can anyone show me how this should be done in mIRC, if possible at all? Thanks