gaucho-matrero / altoclef

Plays block game
MIT License
686 stars 170 forks source link

scripting? #370

Closed hecker2000 closed 8 months ago

hecker2000 commented 11 months ago

Your Idea

it would be cool if it was possible to "script" some commands together, maybe it could look like the following:

set baseY = (random) set baseX = (random) DO set randY = (random) set randX = (random) goto {randX} {randY} get diamond 128 goto {baseX} {baseY} stash {baseX + 10} {base + 10} 100 {baseX - 10} {baseY -10} 50 [diamond] IF (idk some logic for if the bot knows it has over 200 diamonds) DO POINT2 LOOP POINT2 test terminate logoff

kinda pulling from random programming languages, but having a little scripting would allow for a lot more within alto clef! even if just an API for alto clef was available then that would allow the bot to make much more intelligent.

Discord username (if you want updates)

Developer Notes (leave this blank)

Difficulty: __ Estimated Time Required: __ Once development starts.

JamesGreen31 commented 8 months ago

Checkout altoclef task creator. I made a tool that does exactly this

JamesGreen31 commented 8 months ago

https://github.com/gaucho-matrero/Altoclef-TaskCreator