Hidden Features

From Kolmafia
Revision as of 12:12, 13 July 2011 by imported>Fronobulax
Jump to navigation Jump to search

Mafia has several features that aren't listed in the preferences. In order to enable these features you have to change properties with a CLI command. To issue a CLI command simply type the listed command in the text entry box at the bottom of the "Graphical CLI" window. Capitalization counts, so copy/paste is recommended.


Beep on Private Message

You can instruct chat to beep if you receive a private message. If this is enabled it will affect all characters. To enable this, issue the CLI command:

set chatBeep = true

Most Recently Used Script Menu

You can alter your script menu to only show the most recently used scripts. This is enabled by setting scriptMRULength to a value greater than zero. When enabled the Script menu will contain (at most) scriptMRULength entries with the most frequently used script at the top. This list is automatically refreshed or can be manually refreshed by using the Refresh menu option. Scripts that are not on the list can be run by using the Load script option.


set scriptMRULength  = 10

will enable the feature and set the length of the menu to 10. Although it is not enforced by the code, it is suggested that values greater than 45 or thereabouts be avoided.

The second does something:

set scriptMRUList  = ???

Save window size

You can save the size of the KoLmafia window. This is especially useful for people with smaller monitors. This prefernece is character specific so you will need to use the following CLI command for each character.

set rememberDesktopSize = true