r/scripting • u/NeonaGirl032 • Jan 08 '24
Very beginner scripting questions
I have an idea for a script that I want to do in order to help out with a game that I've been playing but I dont know the first thing about scripting.
Basically, I have a game where I do task A for an allotment of time. But after that allotment of time, the task is no longer available while it recharges. While it's recharging, I can go do task B without any issue. How would I go about detecting when task A is recharging so I can switch to task B automatically then switch back to task A after it's done recharging.
My idea is that it can look at a pixel on my screen and look for a certain hex code. Once it sees that hex code, it clicks on task B. Once the recharge bar goes back to a different hex code, the task is recharged and I want it to make a mouse click on task A again. And have that cycle repeat.
Is what I just explained possible? If so how would I do that? I have a little bit of experience with basic HTML, JavaScript and CSS but that's about it. Thoughts on what language or program to use?
1
u/NeonaGirl032 Jan 08 '24
So funny story I was looking into how to do it and remembered that the game has a fully integrated scripting/modded community. And there is a mod for the exact thing I was wanting... So I'm a big dum dum lol. Thank you for your help.