Throw item: Difference between revisions
Jump to navigation
Jump to search
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…' |
imported>Bale mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ | ||
#vardefine:name| | #vardefine:name|throw_item}}{{ | ||
#vardefine:return_type|buffer}}{{ | #vardefine:return_type|buffer}}{{ | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 23: | Line 22: | ||
cli_equiv=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.)| | cli_equiv=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.)| | ||
more_info= See [[Custom_Combat_Script#Consult_Scripts|Consult Scripts]] for more information.| | more_info= See [[Custom_Combat_Script#Consult_Scripts|Consult Scripts]] for more information.| | ||
special=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
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.