Page 1 of 1

Send

Posted: 10 Dec 2017, 06:46
by PARATR00PER
I'm making a bot that will send the string "10951" but I want to make the script at 1 as it goes along like 10951, 10952, 10953, 10954. I'm not sure how I'd do this without thousands of lines. I'd also like to make the script end at 30000.

Code: Select all

^t::
while 1=1
Loop
{
sleep,4950
Send 10951
sleep,50
Send {enter}
}
return

Re: Send  Topic is solved

Posted: 11 Dec 2017, 02:05
by Rohwedder
Hallo,
you want to send 10951, 10952, ... 30000?
Try:

Code: Select all

^t::
Counter := 10951
While Counter <= 30000
{
	Sleep, 4950
	Send, %Counter%
	Sleep, 50
	Counter++
}
Return

Re: Send

Posted: 11 Dec 2017, 10:30
by PARATR00PER
Thanks so much!