Want a script that checks possibilities Topic is solved

Ask gaming related questions (AHK v1.1 and older)
helpfastpls

Want a script that checks possibilities  Topic is solved

22 Mar 2018, 15:02

I want a script that goes through all the possibilities of 4 letter combinations with repetition. For example it could be FFFF or it could be anything that has four letters. After each time i checks i want it to click in two specific areas that i can change myself, i just have no clue on how to do the possibility part.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Want a script that checks possibilities

22 Mar 2018, 15:39

what is this for? i dont understand the first part
Odlanir
Posts: 659
Joined: 20 Oct 2016, 08:20

Re: Want a script that checks possibilities

23 Mar 2018, 09:32

Code: Select all

letters := "abcd", Arr := StrSplit(letters)
Loop, 1000 {
	max:= 4
	tmpArr := Arr.Clone()
	Loop, % tmpArr.MaxIndex() {
		random,rnd,1,% max
		str .= tmpArr[rnd]
		tmpArr.Remove(rnd) 	
		max := tmpArr.Maxindex()
	}
	str .= "`n"
}
Sort, str, U
MsgBox %str%
____________________________________________________________________________
Windows 10 Pro 64 bit - Autohotkey v1.1.30.01 64-bit Unicode
User avatar
AlphaBravo
Posts: 586
Joined: 29 Sep 2013, 22:59

Re: Want a script that checks possibilities

23 Mar 2018, 12:09

helpfastpls wrote:I want a script that goes through all the possibilities of 4 letter combinations with repetition. For example it could be FFFF or it could be anything that has four letters. After each time i checks i want it to click in two specific areas that i can change myself, i just have no clue on how to do the possibility part.
This seems like a request to hack a password, would you please elaborate on what you're doing?
User avatar
Nwb
Posts: 444
Joined: 29 Nov 2016, 08:56

Re: Want a script that checks possibilities

23 Mar 2018, 12:54

Odlanir wrote:

Code: Select all

letters := "abcd", Arr := StrSplit(letters)
Loop, 1000 {
	max:= 4
	tmpArr := Arr.Clone()
	Loop, % tmpArr.MaxIndex() {
		random,rnd,1,% max
		str .= tmpArr[rnd]
		tmpArr.Remove(rnd) 	
		max := tmpArr.Maxindex()
	}
	str .= "`n"
}
Sort, str, U
MsgBox %str%
Very nice! :shock:
I had wanted something similar and this is perfect!!

And no I'm not trying to break into any password that would be stupid I don't want to get blacklisted.. Something related to a game if you're curious.
I am your average ahk newbie. Just.. a tat more cute. ;)

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 58 guests