Top

Random Password and Auto Login


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  6.5 (of 2 scores)
Date Added  Jun 05, 2008
Last Updated  Jun 05, 2008
Tags  auto  login  password  random  remember 

Introduction

This snippet Just changes your password to soemthing completely random if you accidently say your password. Also it will remember what it was changed to and will automatically log you in if Nickserv asks you for a password (nickserv only)

Installation:
Add Code to Remotes (will open up a dialog asking for your current password so it can save it)


Changing Password to one you Want:
Press F5 and the Password Dialog will pop-up. If this doesn't work type /F5


Setting Password to Random One:
Type your password in a channel or PM. (or type /randompass)

Tested Thouroughly =] Enjoy

Effectiveity Note: because of random number sizes this is pretty much impossible to guess for a hacker so you should be pretty safe. Also you dont have to remember your pass.

EDIT: Noticed that if a user changes manually it doesn't change on nickserv so added it on.

Grab the Code

on *:START:{
  if (%password == $null) { 
    dialog -dm EnterPass EnterPass
  }
  set %Identify This nickname is registered and protected
}
on *:NOTICE:*:?:{
  if ($nick == Nickserv) && (%Identify isin $1-) {
    ns identify %password
  }
}
Dialog EnterPass {
  title "Enter Password"
  option dbu
  size -1 -1 200 50
  text "Enter Password: ", 1, 10 10 40 10 
  edit "", 2, 50 8 140 10, pass
  button "Save Password", 3, 80 25 40 20, default
}
on *:dialog:EnterPass:sclick:3:{
  if ($did(2).text == $null) { halt }
  set %Password $did(2).text 
  dialog -x EnterPass
  echo $Active 11,1P12assword 11S12aved
  ns set password %password
}
alias F5 {
  dialog -dm EnterPass EnterPass
}
on *:INPUT:*:{
  if (%password isin $1-) { randomPass }
}
alias randomPass {
  set %Password $r(a,z) $+ $r(A,Z) $+ $r(a,z) $+ $r(A,Z) $+ $r(a,z) $+ $r(A,Z) $+ $r(a,z) $+ $r(A,Z) $+ $r(1,999) $+ $r(A,Z) $+ $r(999,2000)
  ns set password %password
}

Comments

  (5)  RSS
PunkTuReD
Comments: 461
 
mIRC Snippet:  Random Password and Auto Login
Posted on Jun 5, 2008 7:12 am
this is a very handy little snippet
ive seen people alot accidently type
ns identify "password"
without the /
so yes i gave it a 10
LucSatise
Comments: 113
 
mIRC Snippet:  Random Password and Auto Login
Posted on Jun 5, 2008 9:00 am
Thanks dude.
I was off irc for a while to lv my rs character came back and i had it in my files so i tweaked a bit and posted.
criminal
Comments: 121
 
mIRC Snippet:  Random Password and Auto Login
Posted on Jun 5, 2008 11:56 am
Dude you play rs? >.< Hehe, tell me your cmb & charname ;P I play too
Anyways, gj :P I can't work with dialogs so I hope they're okai.
LucSatise
Comments: 113
 
mIRC Snippet:  Random Password and Auto Login
Posted on Jun 5, 2008 1:04 pm
cb 77 on members. Mageluc1

EDIT: Check the mirc snippet im about to post ;)
AdrianF
Comments: 53
 
mIRC Snippet:  Random Password and Auto Login
Posted on Sep 25, 2009 6:12 am
you should make it be able to have different passes for different networks

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom