Throw items
needs(code_samples);
Function Syntax
buffer throw_items(item first ,item second )
- first is the first item to use
- second is the second item to use
This function attempts to use two items in a combat round (for those with the skill Ambidextrous Funkslinging), and returns the html response from said attempt.
CLI Equivalent
The CCS action "item" has the same effect (if supplied with two item names with a comma in between). (You can change your CCS with the command "ccs" on the CLI.)
See Also
More Information
See Consult Scripts for more information.
Special
Returns an empty buffer if used outside of a consult script.
Attention KoLmafia Experts!
We need your help; some details of this function's operation are unknown or unclear.
The following specific questions have been raised:
- What happens if a character w/o AmbFunk uses this function?
- Is the second parameter ignored, or does it generate an error?