Set auto attack: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with '{{ #vardefine:name|set_auto_attack}}{{ #vardefine:return_type|void}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={{#var:name}}| return_type={{#var:return_typ…'
 
imported>StDoodle
m formatting
Line 20: Line 20:
cli_equiv=The CLI command "autoattack" functions similarly.|
cli_equiv=The CLI command "autoattack" functions similarly.|
}}
}}
 
{{RFI|Does the CLI command allow macro setting?}}
[[Category:Adventuring]]
[[Category:Adventuring]]
{{RFI|Does the CLI command allow macro setting?}}

Revision as of 18:31, 31 January 2011

needs(code_samples);

Function Syntax

void set_auto_attack(int setting )

  • setting is the KoL attack code

Sets your auto-attack. Possible values for setting are 0 for disabled, 1 for attack with weapon, a skillID number, or a macroID number preceeded by 99.

CLI Equivalent

The CLI command "autoattack" functions similarly.

See Also

adventure() | get_auto_attack()


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific question has been raised:

  • Does the CLI command allow macro setting?