Get auto attack
Revision as of 18:35, 31 January 2011 by imported>StDoodle (Created page with '{{ #vardefine:name|get_auto_attack}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={{#var:name}}| return_type={{#var:return_type…')
needs(code_samples);
Function Syntax
int get_auto_attack()
Returns your auto-attack as an integer code. Possible values 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" does not appear to have reporting capability.
See Also
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:
- In r8981, the CLI command w/o parameters caused a debug log. Update cli_equip and ask questions similar to set_auto_attack() when fixed.