Interface LoopingScript
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
loop()
Execute the Loop - Implement logic to validate conditions and process actions within the game.-
Methods inherited from interface com.osrsbots.orb.scripts.framework.ORBScript
nextClientTick, nextGameTick, nextPostClientTick, onPause, onPlayerLogin, onPlayerLogout, onResume, onStart, onStop, readyForBreak, setLoopDelay, shouldTakeBreak, stop, stop
-
-
-
-
Method Detail
-
loop
int loop()
Execute the Loop - Implement logic to validate conditions and process actions within the game. Most often done by using an Enum to define the state.- Returns:
- the length of delay before next loop.
- See Also:
- "Return a positive integer to delay in ms, and a negative integer to delay in game ticks."
-
-