Counters

From Kolmafia
Revision as of 07:23, 22 September 2010 by imported>Bale (CLI command)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This is a CLI command for displaying or modifying KoLmafia's counters. Without any parameters it will display all current counters.

The possible parameters are:

  • clear: This will remove all current counters.
  • add condition: This will add a counter. If the condition is an item, it will set the necessary quantity to this many more than you currently have. This also has the additional parameters: number [title img]
    • number the is the number of turns until the counter expires
    • title is an optional parameter to name the counter. If no name is given, then the counter will be named "manual"
    • img is an optional image for the counter. You can use any of the images in KoL's \itemimages directory. If no image is chosen, then mafia will use watch.gif for the counter.

Example: to add a fortune cookie counter to expire in 88 turns, use this command:

counters add 88 cookie fortune.gif