Throw items: 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 Answered the RFI and potential future ones. |
||
Line 25: | Line 25: | ||
cli_equiv=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.)| | cli_equiv=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.)| | ||
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=If the character in question does not have Funkslinging, KoL returns with the error "That doesn't make any sense."</p><p>If the second parameter is $item[none], this function is functionally identical to [[throw_item|throw_item()]] (even if the character does not have funkslinging).</p><p>Returns an empty buffer if used outside of a consult script.| | ||
}} | }} | ||
Revision as of 15:27, 27 March 2010
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
If the character in question does not have Funkslinging, KoL returns with the error "That doesn't make any sense."
If the second parameter is $item[none], this function is functionally identical to throw_item() (even if the character does not have funkslinging).
Returns an empty buffer if used outside of a consult script.