Attack

From Kolmafia
Revision as of 18:51, 10 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|attack}}{{ #vardefine:return_type|buffer}}{{ FunctionPage| name={{#var:name}}| function_category=In-combat Consulting| function1={{Function| name={{#var:name…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

buffer attack()

Attacks with your weapon during a consult script, and returns the fight page text of the resulting round.

CLI Equivalent

The CCS entry of "attack with weapon" accomplishes the same function.

See Also

runaway() | throw_items() | use_skill()

More Information

See Consult Scripts for more information.

Special

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