Throw item

From Kolmafia
Revision as of 19:07, 10 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|throw_items}}{{ #vardefine:return_type|buffer}}{{ FunctionPage| name={{#var:name}}| function_category=In-combat Consulting| function1={{Function| name={{#var…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

buffer throw_items(item throw )

  • throw is the first item to use

This function attempts to use an item during a combat round, and returns the html response from said attempt.

CLI Equivalent

The CCS action "item" has the same effect (if supplied an item name). (You can change your CCS with the command "ccs" on the CLI.)

See Also

attack() | runaway() | throw_items() | use_skill()

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 question has been raised:

  • Does this do similar to inside of a CCS & use two of said item if the character has Amb.Funk?