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>Heeheehee m Person who made this page forgot to rename the function. Answered the RFI. |
||
Line 1: | Line 1: | ||
{{ | {{ | ||
#vardefine:name| | #vardefine:name|throw_item}}{{ | ||
#vardefine:return_type|buffer}}{{ | #vardefine:return_type|buffer}}{{ | ||
Line 23: | Line 23: | ||
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.| | ||
}} | }} | ||
Revision as of 15:23, 27 March 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.