From Kolmafia
Jump to navigation Jump to search

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.


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