mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2005
Posts: 64
V
Vinniej Offline OP
Babel fish
OP Offline
Babel fish
V
Joined: Apr 2005
Posts: 64
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,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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.

Joined: Apr 2005
Posts: 64
V
Vinniej Offline OP
Babel fish
OP Offline
Babel fish
V
Joined: Apr 2005
Posts: 64
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,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
never claimed I was perfect.

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

Mismatching is a fun game to play!!!


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard