KoLmafia Guide: Useful Commands

From Kolmafia
Revision as of 19:58, 29 March 2010 by imported>SinginSally
Jump to navigation Jump to search

Most people will prefer the GUI for KoL playing. However, Mafia does have a handful of useful functions that you can type in.

These are the ones that I have found to be useful. Your mileage will vary, but read through these and try em out. A FULL LIST can be found in my Links section at the top of the guide.

1) You will need to be at the 'Graphical CLI' top-level tab.

2) At the bottom of the screen is a small textbox where you may enter commands.


  • help [optional command] - Gives you a list of commands. OR how to use the given command if you type it 'help burn' for example.
  • clear - Clears the screen and log entries entirely.
  • inv [filter] - Shows your inventory. The cool thing is that you can add a filter. So for a list of all your wads, you would type 'inv wad' and it will come back with Twinkly Wad, Hot Wad, or whatever wads you have. I generally use the item manager and sort by alphabetical order or type instead. But this works too. For example, you ask yourself 'did I get that pirate insult book doodad?'. You don't have to know the exact name. Just type Insult and let it do the work.
  • modref - This gives you a huge list of pretty much ALL conceivable character stats such as Sleaze Damage, HP Max, Regen Rate, all resistances, and so forth. Furthermore the exact text of the first column works as a 'category' which you can then feed to the next few commands.
  • maximize [category] - Equips your character using your inventory to the best of its ability in order to maximize the given category! Categories are found through the 'modref' command above. So if you wanted to maximize your Sleaze Resistance, you would type 'maximize Sleaze Resistance' and watch it go! It will give you a Score for the level of the maximized level. This is extremely useful for Clan Dungeons!
  • modtrace [category] - Prints out a list of all sources that modify the desired category, either positively or negatively. So if you are wondering WHY you have a Meat Drop rate of say..140%, it will break it down for you!
  • modifies [category] - Shows you ALL sources that modify the given category IN THE ENTIRE GAME. Whereas the previous commands just work with what inventory you have, this command lists everything, straight from the wiki. Sometimes this command is kind of flaky.
  • wiki [filter] - This command shows you the wiki entry for whatever you typed in and pops it up in a new Tab. This is a really handy shortcut.
  • Various Listers - These commands give you a list of quest or ascension-specific stuff you have identified.
    • bang - Shows identified Dungeon of Doom potions. (clear, murky, etc)
    • dusty - Lists identifies Dusty Wine bottles. (pinot noir, merlot, etc)
    • insults - Lists all known pirate insults.
    • demons - Lists names of demons known for summoning.
  • pvplog - shows results of PvP combat. It actually generates a spreadsheet of all battles from your messagebox. To see it, you must go to the KoLMafia Directory under the Attacks subdirectory. It is very helpful though and even figures out all your enemies stats for you! (Like how many White Canadians they have drank, etc.) This is great if there is one guy that really hacks you off. This parsed log will help you gather info on them.
  • undercut - Any items in your Mall store with the default price of 999999999 will be repriced to match the lowest mall price. Mafia uses the 5th lowest price, so you won't necessarily undercut everyone. On the other hand, you won't fall victim to the 1/day limit super-low priced options!
  • reprice - ALL items in your mall store are repriced to match the lowest known mall price. Uses the 5th lowest price as per above.
  • alias - Lets you create a shortcut command. Great for buffbots. For example, "alias buffode => csend 300 meat to buffBawt" would mean that you'd simply type buffode and it would then send meat to some random buffbut which you would know would cast Ode to Booze on you.
  • csend - as shown in Alias above. Sends a kmail to the target with attached meat or items.

Continue to Lesson 15: Closing Thoughts