mIRC Homepage
Posted By: Tilvaltar Question on DCC - 05/02/06 01:04 PM
I have access to an IRCnet bot. When I want to enter it's "partyline", I type /ctcp [botnick] chat, a dcc window named [botnick] opens and the bot asks for my username, after this for my passwort.

I would like to automate the login; when the bot window opens, mIRC should enter username and password by remote script (or at least by popup menu click).

Any ideas?
Posted By: kokoko Re: Question on DCC - 05/02/06 01:10 PM
something along the line:

on *:chat:username: {
if ($nick == botname) {
msg =$nick loginName
}
}

on *:chat:password: {
if ($nick == botname) {
msg =$nick PassWord
}
}

the =$nick makes it send the msg via dcc chat rather than normal query, the on *:chat event is triggered when a msg is sent to a dcc chat window...

-k-
© mIRC Discussion Forums