Static
cachedStatic
cachedStatic
SAVED_Add an "if" statement to this macro.
The BALLS condition for the if statement.
Continuation if the condition is true.
This object itself.
Create an if_ statement based on what holiday of loathing it currently is. On non-holidays, returns the original macro, unmutated.
The macro to place in the if_ statement
This macro with supplied macro wapped in if statement matching holiday wanderers
Add an "if" statement to this macro, inverting the condition.
The BALLS condition for the if statement.
Continuation if the condition is true.
This object itself.
Create an if_ statement based on what holiday of loathing it currently is. On non-holidays, returns the original macro, with the input macro appended.
The macro to place in the if_ statement.
This macro with supplied macro wrapped in if statement matching monsters that are not holiday wanderers
Statefully add one or several steps to a macro.
Rest
...nextSteps: (string | Macro)[]The steps to add to the macro.
This object itself.
Add a "while" statement to this macro.
The BALLS condition for the while statement.
Loop to repeat while the condition is true.
This object itself.
Static
abortStatic
abortStatic
attackStatic
clearStatic
clearStatic
externalStatic
if_Static
ifStatic
ifStatic
ifStatic
itemStatic
loadStatic
makeBALLSPredicateStatic
renameStatic
runawayStatic
skillStatic
stepStatic
tryCreate a new macro with one or more item steps, where each step checks to see if you have the item first.
Rest
...items: (ItemOrName | [ItemOrName, ItemOrName])[]Items to try using. Pass a tuple [item1, item2] to funksling.
This object itself.
Static
tryStatic
tryCreate a new macro with one or more skill-cast-and-repeat steps, where each step checks if you have the skill first.
Rest
...skills: SkillOrName[]Skills to try repeatedly casting.
This object itself.
Static
while_
BALLS macro builder for direct submission to KoL. Create a new macro with
new Macro()
and add steps using the instance methods. Uses a fluent interface, so each step returns the object for easy chaining of steps. Each method is also defined as a static method that creates a new Macro with only that step. For example, you can doMacro.skill('Saucestorm').attack()
.