Difference between revisions of "Throw item"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m (Person who made this page forgot to rename the function. Answered the RFI.)
imported>Bale
m
 
Line 5: Line 5:
 
FunctionPage|
 
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=In-combat Consulting|
 
  
 
function1={{Function|
 
function1={{Function|
Line 25: Line 24:
 
special=Only uses one of the specified item, even if the character in question has ambidextrous funkslinging.</p><p>Returns an empty buffer if used outside of a consult script.|
 
special=Only uses one of the specified item, even if the character in question has ambidextrous funkslinging.</p><p>Returns an empty buffer if used outside of a consult script.|
 
}}
 
}}
 +
 +
[[Category:In-combat Consulting]]

Latest revision as of 22:24, 21 May 2010

needs(code_samples);

Function Syntax

buffer throw_item(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

Only uses one of the specified item, even if the character in question has ambidextrous funkslinging.

Returns an empty buffer if used outside of a consult script.