87052402 Posted April 15, 2005 Report Share Posted April 15, 2005 hello , i am making a mirc script called CyberResearch ,, but i wanne make a password dialog that ask a password when you start mirc,, en if you enter a wrong password then quit mirc. en when you enter the correct password then mirc connect to a server i have no idea to make this can somebody help me ...? Buy Odysseus Link to comment Share on other sites More sharing options...
tidy trax Posted April 15, 2005 Report Share Posted April 15, 2005 (edited) hello , i am making a mirc script called CyberResearch ,, but i wanne make a password dialog that ask a password when you start mirc,, en if you enter a wrong password then quit mirc. en when you enter the correct password then mirc connect to a server i have no idea to make this can somebody help me ...? Buy Odysseus on *:start:{ if ($md5($input(Enter password:, dip, Password request)) == <password in md5 format>) { server blah blah } else { exit } } Type //echo -a $md5(<password you want to use>) to get the md5 hash of the password, then you can change <password in md5 format> to that hash. Edited April 15, 2005 by tidy trax Link to comment Share on other sites More sharing options...
87052402 Posted April 15, 2005 Author Report Share Posted April 15, 2005 If i try he always exit mirc Link to comment Share on other sites More sharing options...
tidy trax Posted April 15, 2005 Report Share Posted April 15, 2005 Then you did something wrong. Read through what I said slowly. Link to comment Share on other sites More sharing options...
87052402 Posted April 15, 2005 Author Report Share Posted April 15, 2005 on *:start:{ if ($md5($input(Enter password:, dip, Password request)) == <password in md5 format>) { server blah blah } else { exit } } Type //echo -a $md5(<password you want to use>) to get the md5 hash of the password, then you can change <password in md5 format> to that hash. each time mirc quit Link to comment Share on other sites More sharing options...
tidy trax Posted April 15, 2005 Report Share Posted April 15, 2005 on *:start:{ if ($md5($input(Enter password:, dip, Password request)) == <password in md5 format>) { server blah blah } else { exit } } Type //echo -a $md5(<password you want to use>) to get the md5 hash of the password, then you can change <password in md5 format> to that hash. each time mirc quit You're only supposed to put the part inside the code tags in remote and you have to change the "<password in md5 format>" part like I said in the last post. Link to comment Share on other sites More sharing options...
87052402 Posted April 15, 2005 Author Report Share Posted April 15, 2005 i understand what your saying but the code don't work , my mirc quit every time i try First i copy the code to my password.ini file on *:start:{ if ($md5($input(Enter password:, dip, Password request)) == <password in md5 format>) { server blah blah } else { exit } Then i type : Type //echo -a $md5 charmed then i changed <password in md5 format>) into charmed , en restart my mirc, en typ charmed , but it is Link to comment Share on other sites More sharing options...
The Gate Keeper Posted April 15, 2005 Report Share Posted April 15, 2005 (edited) 87052402, what you are to do is type this in a mIRC window, type this //echo -at : $md5(<PUT YOUR PASSWORD HERE>) E.G. //echo -at : $md5(hi bob) then it will give you a 32 character string copy that string and place it in tidy's code where it says <password in md5 format> NOTE: you will need to change his coding, you may not want it to do server blah blah [since that isn't even a server], you may want it to greet the person, or you may want a dialog to come up, you are to change it. TIDY didn't give you the code and expect it to be everything you need, you are still required to do some work. Edited April 15, 2005 by The Gate Keeper Link to comment Share on other sites More sharing options...
Warrior124 Posted April 16, 2005 Report Share Posted April 16, 2005 (edited) I found out that code doesn't work. Try this code instead... on *:start:{ if ($input(Enter password:, dip, Password request) == $md5(<non-hashed code here>)) { server blah blah } else { exit } } EG: on *:start:{ if ($input(Enter password:, dip, Password request) == $md5(TechGear007)) { server blah blah } else { exit } } So, whenever the passcode box comes up you will enter the code of a7d440019ca304febe2a26125285e633 This is the hash code for TechGear007. P.S.: I tried this out, and it works for me. Edited April 16, 2005 by Warrior124 Link to comment Share on other sites More sharing options...
Rhys Posted April 16, 2005 Report Share Posted April 16, 2005 mIRC comes with this option in the mIRC Settings. Go to: View > Options (Hold Alt + O) Click the + next to Other Click Lock Check the box saying "On Startup" Click Lock and enter a password. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now