mIRC Home    About    Download    Register    News    Help

Print Thread
#141147 05/02/06 01:04 PM
Joined: Mar 2005
Posts: 14
T
Pikka bird
OP Offline
Pikka bird
T
Joined: Mar 2005
Posts: 14
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?

Last edited by Tilvaltar; 05/02/06 01:07 PM.
#141148 05/02/06 01:10 PM
Joined: Feb 2003
Posts: 12
K
Pikka bird
Offline
Pikka bird
K
Joined: Feb 2003
Posts: 12
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-


Link Copied to Clipboard