Hi guys ,Im trying to make a password script for Ops in the channel.We have bots to auto op etc but the prob is we have several ops that have dynamic hosts and change a lot so I wanted to make a password ops script for them to gain ops.
on *:TEXT:!op *:?:{
$iif($2 === PASSWORD_HERE && $me isop #MY_CHAN,mode #MY_CHAN +o $nick,.notice $nick Sorry but your password is incorrect!)
/close -m $nick
}
The above works fine but I can only set it for a single user unless I have them all on the same pass (they want to use their own passwords).So what I'm after is some help in setting up a multi user password script,something like:
<user1>!op MY_PASS(incorrect pass)
<bot>!Sorry that password is incorrect!
<user1>!op MY_PASS(wrong nick ,right pass or vis versa)
<bot> Sorry your nick doesnt match the assigned password!.
<user2>!op MY_PASS(correct pass and nick)
<bot> Match Found,you are now op!.
<some_randome_user> hello
<bot> Do not PM me use the channel
I need to be able to add multiple users with a password for them each.When an incorrect pass is found or a nick/pass miss match,have the script notice them the pass or nick is incorrect.When a user pm's with the correct pass,a notice saying Match Found etc.. and the bot ops them if both nick and pass match.If some random user PM's the bot have it notice them to use the channel
TIA
D00M.