minecraft typing script

Ask gaming related questions
Posts: 2
Joined: 06 Dec 2017, 04:15

minecraft typing script

11 Dec 2017, 00:44

I've been making this script, it's supposed to type messages from file into minecraft.
unfortunately i've ran into complications that make it impossible.

Code: Select all

Sleep, 1000
Loop, Read, stuff.txt
send t
sleep, 100
	ClipBoard := A_LoopReadLine
	sleep 700

	Send, ^v
	sleep, 700
	Send {enter}

	Sleep, 2000
The results are very inconsistent. Before, it was a lot worse, a lot of actions didnt happen, so I added the pauses. But now the issue is that 50% of the time, ^v won't happen.

why is this?

Also it's the issue with the minecraft client, in notepad it's always consistent.
User avatar
Posts: 5432
Joined: 19 Dec 2016, 01:58
Location: UK

Re: minecraft typing script

11 Dec 2017, 02:16

You don't need any Sleep between ClipBoard := A_LoopReadLine and Send, ^v. You could try increasing some of the other Sleeps, or looking for some way to confirm success, instead of using Sleep.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 9 guests