I blinked, then..
Version 2
Example code:
public class Test extends Script {
AmountAPI amount;
RS2Widget vambracesButton;
RS2Widget chapsButton;
RS2Widget bodyButton;
RS2Widget superCombatButton;
@Override
public void onStart() throws InterruptedException {
amount = new AmountAPI();
amount.exchangeContext(bot);
amount.initializeModule();
}
@Override
public int onLoop() throws InterruptedException {
if (amount.isValid()) {
vambracesButton = amoun