mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Horstl #222409 19/06/10 09:29 AM
Joined: Sep 2009
Posts: 52
Z
ziv Offline
Babel fish
Offline
Babel fish
Z
Joined: Sep 2009
Posts: 52
You are correct! shocked

Well, I believe it should be like this:

Code:
on op:text:!identify &:?:{
  if ($md5($$2) !=== $ulist($address($nick,8)).info) {    .msg $nick Sorry, but the password you entered doesn't match my records  }
  else {
    var %a = 1, %b = $comchan($nick,0)
    while %a <= %b {
      if ($me isop $comchan($nick,%a)) && ($nick !isop $v2) {      .mode $v2 +o $nick    }
      inc %a
    }
  }
}


Tell me what you think now...

Also, yes, the users`s IP and password are to be stored in the users list, not in a file.

The format users could be manually added with is:

op:USER`S-ADDRESS password

It would be best to use this command, if you want to add them manually yourself:

//guser op NICK PASSWORD
Where NICK = the user's nickname and PASSWORD = the password you want to give them.

Hope this helps xD
ziv.

Last edited by ziv; 19/06/10 09:29 AM.
ziv #222417 19/06/10 12:34 PM
Joined: Mar 2008
Posts: 31
M
maSeeha Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2008
Posts: 31
welll its seemz some problem still . like as i apply commang //guser op lakshmi abcde

it added in script like = op:lakshmi!*lak@59.103.24.15 abcde

and wen lakshami enter command in private !dentify abcde it gives msgs "Sorry, but the password you entered doesn't match my records"

and if i remove ! from if ($md5($$2) !=== $ulist($address($nick,8)).info)
then msg on Status Window
+o No such channel
-
+o No such chann
waiting for reply

Last edited by maSeeha; 19/06/10 12:38 PM.
maSeeha #222419 19/06/10 12:58 PM
Joined: Sep 2009
Posts: 52
Z
ziv Offline
Babel fish
Offline
Babel fish
Z
Joined: Sep 2009
Posts: 52
Firstly, you shouldn't remove that '!'.
Secondly, I'd opt for changing any $address`s '8', to a '6'.
(Example: $address($nick,8) -> $address($nick,6))

That should do it.

ziv.

ziv #222473 20/06/10 11:56 AM
Joined: Mar 2008
Posts: 31
M
maSeeha Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2008
Posts: 31
Same Problem frown

maSeeha #222509 21/06/10 10:43 AM
Joined: Sep 2009
Posts: 52
Z
ziv Offline
Babel fish
Offline
Babel fish
Z
Joined: Sep 2009
Posts: 52
*facepalms*

If you're adding them manually you need to use this line:
Code:
/guser op $address($nick,6) $md5(password)


My bad, I forgot to tell you about the md5 there smirk
Again, replace password with the user's password.

ziv.

Page 2 of 2 1 2

Link Copied to Clipboard