Script Summary: Auto-focus on buttons in BattleStations! (facebook game)
Version: 0.05
Makes the tedious part of exploring in Battle Stations, a lot easier:
- Will automatically select the max number of APs to explore with, and then put the keyboard focus on the "Explore" button, so you just need to press ENTER.
- Will automatically focus on "Attack" on encounters, so you just need to press ENTER.
- Will automatically focus on "Repair" if ship health is below 50%.
- Will automatically focus on "Set Sail" after an encounter.
My goal is to turn the boring part of Exploring into a simple series of single-key presses.
----
Updated 15/Aug/2008:
- Due to format change in Battle Stations, I had to change the script.
- Created a central place to do the "focus" action. You can edit that to make it click or whatever.
Updated 07/Sep/2009:
- Stops when AP reaches 0
- Managed to fix click-code
- Setting one place from 0 to 1 will change the auto-action from "focus" to "click"
Updated 11/Sep/2009:
- After "Set Sail" became flash-based, had to fix the responses



