Here is good password generator.
Syntax :
!genpass - For other users
/genpass - For you.
ALERT :
I don't care what you do with this.
TO DO :
Just put it in your remote and click "OK" and it will work.
BUG? SUGGESTION? FEEL FREE ^_^
; Strong Password Generator
; By MiNdFrEaKeR/SaGaR/IlLuSiOn
; gs.mindfreakers.net #Hawkee
alias genpass { var %i = $rand(7, 10), %pass, %str = 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz^#&)(@%<>, %len = $len(%str)
while (%i) { %pass = %pass $+ $mid(%str, $rand(1, %len), 1) | dec %i }
echo -at Password Generated : %pass }
on *:TEXT!genpass:#: { var %i = $rand(7, 10), %pass, %str = 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz^#&)(@%<>, %len = $len(%str)
while (%i) { %pass = %pass $+ $mid(%str, $rand(1, %len), 1) | dec %i }
notice $nick Generating password, please wait...
timer 1 2 notice $nick Password Generated : %pass }
@SReject : Thanks for the suggestion :) but i actually don't go along with using regex.
should be
Using your method, the code could be shortened to the following: