mIRC Home    About    Download    Register    News    Help

Print Thread
V
Vinniej
Vinniej
V
Ok, i dont know how to do this, have tried some scripts, but it isnt what i want.

I'm lookin for a script, that gives op to someone, when they pm a word + password to my bot.

I hope u undestand me... Thnx..

Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
Code:
on *:text:*:?:{
if ($1 === <Word>) && ($2 === <PassWord> && $me isop <channel> { .mode <channel> +o $nick }
} 


Replace <Word>, <PassWord>, & <channel> with the appropriate information. Both <Word> & <PassWord> are set to be case sensitive.

V
Vinniej
Vinniej
V
It doesnt work in a pm..

Quote:
on *:text:*:?:{
if ($1 === !opme) && ($2 === pass && $me isop #chan { .mode #chan +o $nick }
}


When i pm to my bot, it doesnt op me... (Deopped myself for test) confused

It's ok... It works now... cool

You just forgot one ) wink

Last edited by Vinniej; 01/07/05 05:24 AM.
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
never claimed I was perfect.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Lol! Gotta love ()'s and {}'s laugh

Mismatching is a fun game to play!!!


Link Copied to Clipboard