Help AHK help [Loop]

Fixa

Member
Joined
Feb 15, 2014
Messages
12
Reaction score
0
I am not positive if this is the correct place to post it, but ... Oh well.

So the server has [/find] as a command ... And it has around 200 players.
I want an AHK loop that [/find]s from 1-200 hitting t/find 1{enter} sleep 2000 t/find 2{enter} sleep 2000 ...

You know it, then once it hits t/find 200{enter} it loops back to 1 - 2 - 3 - 4 - 5 ...

Haaaaaalp ... With a break key too. PWEASE  :bawww: :bawww:  :eek:key:
 

uwe1337

Active member
Joined
Feb 4, 2014
Messages
36
Reaction score
0
Hey, Okay i Help you ;)

Code:
Code:
Find := 0

1::SetTimer, FindTimer, 2000
2::SetTimer, FindTimer, Off

FindTimer:
{
	SendInput t/find %Find%{enter}
	Find++
}
:urtheman:
 

Fixa

Member
Joined
Feb 15, 2014
Messages
12
Reaction score
0
uwe1337 link said:
Hey, Okay i Help you ;)

Code:
Code:
Find := 0

1::SetTimer, FindTimer, 2000
2::SetTimer, FindTimer, Off

FindTimer:
{
	SendInput t/find %Find%{enter}
	Find++
}
:urtheman:

:looky: :looky:
:forever_hurra:
Help me fill it out? <3
 

uwe1337

Active member
Joined
Feb 4, 2014
Messages
36
Reaction score
0
Fixa link said:
[quote author=uwe1337 link=topic=5949.msg33752#msg33752 date=1394548330]
Hey, Okay i Help you ;)

Code:
Code:
Find := 0

1::SetTimer, FindTimer, 2000
2::SetTimer, FindTimer, Off

FindTimer:
{
	SendInput t/find %Find%{enter}
	Find++
}
:urtheman:

:looky: :looky:
:forever_hurra:
Help me fill it out? <3
[/quote]

what fill it out ?

I can make u an compiled version.

dl: https://www.dropbox.com/s/91df9iwsehda6cd/Timer%20mit%20Variable%20%2B%2B.rar
virustotal: https://www.virustotal.com/de/file/04a4a8045b2b8ea8ad26c2ecbbf11347f66c25a048fc00c519578647302cafcc/analysis/1394549787/
no virus  :urtheman:
 
Joined
Feb 8, 2014
Messages
12
Reaction score
0
Code:
Numpad1::
Toggle := !Toggle
If (Toggle)
  SetTimer, Find, 2000
Else
  SetTimer, Find, Off
Return

Find:
Clock++
If (Clock > 200)
  Clock = 1
SendInput t/find %Clock%{Enter}
Return

Here you go.  Untested but should work.  Numpad1 to turn it on/off.
 
Top