Attack: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Bale
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=In-combat Consulting|


function1={{Function|
function1={{Function|
Line 18: Line 17:
needscode=yes|
needscode=yes|


see_also={{SeeAlso|runaway|throw_items|use_skill}}|
see_also={{SeeAlso|runaway|throw_item|throw_items|use_skill}}|
cli_equiv=The CCS entry of "attack with weapon" accomplishes the same function. (You can change your CCS with the command "ccs" on the CLI.)|
cli_equiv=The CCS entry of "attack with weapon" accomplishes the same function. (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=Returns an empty buffer if used outside of a consult script.|
}}
}}
[[Category:In-combat Consulting]]

Latest revision as of 22:23, 21 May 2010

needs(code_samples);

Function Syntax

buffer attack()

Attacks with your weapon during a consult script, and returns the html response text from said attempt.

CLI Equivalent

The CCS entry of "attack with weapon" accomplishes the same function. (You can change your CCS with the command "ccs" on the CLI.)

See Also

runaway() | throw_item() | throw_items() | use_skill()

More Information

See Consult Scripts for more information.

Special

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