Login system for more users. - 14/02/06 11:50 PM
Hey, I'm back again .
This isnt working as I hoped.
Well, I can login, but can't change the password or do commands where I need to be logged in. How can I fix this problem. I think it's a problem with "%loggedin., $+ $nick == yes". Because you cant use spaces before the "==". Well, I don't want many changes, so I need a change on this script. If someone can help me, I'm very happy so..
No, "%loggedin.,$nick == yes" isnt working.
This isnt working as I hoped.
Code:
on *:text:!login * *:?: { if ($2 == %passw0rd., $+ $2) { set %loggedin., $+ $nick yes | notice $nick You logged in successfully! } elseif ($2 != %passw0rd., $+ $2) { notice $nick Wrong password. } else { halt } } on *:text:!password * *:?: { if (%loggedin., $+ $nick == yes) { set %passw0rd., $+ $2 $3 | notice $nick Password for $2 changed to $3 $+ . } else { notice $nick You are not logged in. Please log in. Don't have an account? You dont have access. } }
Well, I can login, but can't change the password or do commands where I need to be logged in. How can I fix this problem. I think it's a problem with "%loggedin., $+ $nick == yes". Because you cant use spaces before the "==". Well, I don't want many changes, so I need a change on this script. If someone can help me, I'm very happy so..
No, "%loggedin.,$nick == yes" isnt working.