In-combat Consulting

From Kolmafia
Revision as of 18:32, 28 October 2007 by imported>Gxc
Jump to navigation Jump to search

Part 6 - In-combat functions for consulting scripting

These functions are for use when handling a battle in a script using your custom combat settings. There is very little documentation of how to do this, and for most people these functions are useless.

string attack()
string runaway()
string use_skill( skill touse )
string throw_item( item tothrow )
string throw_items( item tothrow1, item tothrow2 )
Returns a string containing the html response from sending the appropriate url request for the associated action while in battle.</