mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 43
C
Crosz Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Aug 2004
Posts: 43
hi i am looking for my bot to +v when a user types his username, password and channel in a private message window to the bot. something like

#test Crosz A85f363

room #test
bot +v on Crosz

that is it. Anyone that can help?
keep it simple no user hosts or idents just a password, username and channel

Last edited by Crosz; 25/08/04 11:30 AM.
Joined: Mar 2004
Posts: 540
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
Code:
 
on *:text:!ident *:?: {
  If ($2 === Static) && ($3 === MyPass) {
    mode #test +v $nick
  }
} 

Joined: Aug 2004
Posts: 43
C
Crosz Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Aug 2004
Posts: 43
thanks again had some problems with that code. but i managed to get some of it to construct my own

if that code dont work for anyone else try this one

on 1:text:*ident peter kjh654kj6jh*:?:{ .mode #pop +v peter }

peter - is your nick
kjh654kj6jh - is your pass

just change them to what ever you like
more lines can be added for more users

Last edited by Crosz; 26/08/04 02:24 PM.
Joined: Mar 2004
Posts: 540
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
If you want to use a lot of passes Id suggest a ini file and reading it from a user name to get a pass


Link Copied to Clipboard