<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kolmafia.us/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bumcheekcity</id>
	<title>Kolmafia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kolmafia.us/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bumcheekcity"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/Bumcheekcity"/>
	<updated>2026-04-24T18:15:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Alias&amp;diff=3099</id>
		<title>Alias</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Alias&amp;diff=3099"/>
		<updated>2011-12-29T20:10:45Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* See How Many Substats we need to Level */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:alias}}&lt;br /&gt;
Creates a new alias in the KoLmafia CLI or displays the list of registered aliases.&lt;br /&gt;
An alias is a shortcut for complex CLI command(s) that are too long to type every time you want to. To create a new alias, type&lt;br /&gt;
 alias &#039;&#039;[alias_name]&#039;&#039; =&amp;gt; &#039;&#039;[actual_command]&#039;&#039;&lt;br /&gt;
into the CLI, where &amp;lt;code&amp;gt;&#039;&#039;[alias_name]&#039;&#039;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&#039;&#039;[alias_command]&#039;&#039;&amp;lt;/code&amp;gt; are replaced with the shortcut string you want to use and the actual command string. For example, to create an alias &amp;quot;f&amp;quot; for the &amp;lt;code&amp;gt;[[familiar]]&amp;lt;/code&amp;gt; CLI command, type:&lt;br /&gt;
&amp;lt;pre&amp;gt;alias f =&amp;gt; familiar&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, instead of typing &amp;lt;code&amp;gt;familiar pixie&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;familiar sandworm&amp;lt;/code&amp;gt;, you can just type &amp;lt;code&amp;gt;f pixie&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;f sandworm&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To see the list of aliases that you have created so far, type &amp;lt;code&amp;gt;alias&amp;lt;/code&amp;gt; into the CLI without any arguments.&lt;br /&gt;
&lt;br /&gt;
Aliases are preserved across multiple characters. You can remove existing aliases by using the &amp;lt;code&amp;gt;[[unalias]]&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
== Complex Examples ==&lt;br /&gt;
=== Automatically Getting Dentures ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias dentures =&amp;gt; checkpoint; equip frilly skirt; ash visit_url(&amp;quot;inv_use.php?which=3&amp;amp;whichitem=2951&amp;amp;pwd&amp;quot;); visit_url(&amp;quot;choice.php?whichchoice=188&amp;amp;option=3&amp;amp;choiceform3=Catburgle&amp;amp;pwd&amp;quot;); cli_execute(&amp;quot;outfit checkpoint&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equips a frilly skirt, chooses the right choice in the Orcish Frat House Blueprints adventure, and then re-equips whatever pants you had on when you type &#039;&#039;dentures&#039;&#039; into the CLI.&lt;br /&gt;
&lt;br /&gt;
===Open Beach===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias openbeach =&amp;gt; ash if(item_amount($item[sweet rims]) &amp;lt; 1 &amp;amp;&amp;amp; item_amount($item[bitchin&#039; meatcar]) &amp;lt; 1) hermit(1, $item[sweet rims]); retrieve_item(1, $item[bitchin&#039; meatcar]); if(item_amount($item[Degrassi Knoll shopping list]) &amp;lt; 1) visit_url(&amp;quot;guild.php?place=paco&amp;quot;); if(item_amount($item[Degrassi Knoll shopping list]) &amp;gt; 0) use(1, $item[Degrassi Knoll shopping list]); visit_url(&amp;quot;guild.php?place=paco&amp;quot;); visit_url(&amp;quot;forestvillage.php?place=untinker&amp;quot;); if(knoll_available()) {visit_url(&amp;quot;knoll.php?place=smith&amp;quot;); visit_url(&amp;quot;forestvillage.php?place=untinker&amp;quot;); cli_execute(&amp;quot;untinker bitchin&#039; meatcar&amp;quot;);}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This opens the beach, getting the rims from the hermit and accounting for the muscle sign correctly.&lt;br /&gt;
&lt;br /&gt;
=== See How many charges left on Bartender/Chef ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias boxen =&amp;gt; ashq if(have_chef()) print(&amp;quot;Chef turns used: &amp;quot;+get_property(&amp;quot;chefTurnsUsed&amp;quot;),&amp;quot;green&amp;quot;); else print(&amp;quot;No chef-in-a-box&amp;quot;,&amp;quot;gray&amp;quot;); if(have_bartender()) print(&amp;quot;Bartender turns used: &amp;quot;+get_property(&amp;quot;bartenderTurnsUsed&amp;quot;),&amp;quot;green&amp;quot;); else print(&amp;quot;No bartender-in-a-box&amp;quot;,&amp;quot;gray&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This prints something similar to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt; boxen&lt;br /&gt;
&lt;br /&gt;
Chef turns used: 5&lt;br /&gt;
Bartender turns used: 10&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See How Many Substats we need to Level ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias level =&amp;gt; ashq stat s; switch(my_primestat()){case $stat[muscle]:s=$stat[submuscle];break;case $stat[mysticality]:s=$stat[submysticality];break;case $stat[moxie]:s=$stat[submoxie];break;default: } int s_left =(my_level()**2+4)**2 - my_basestat(s);print(&amp;quot;Missing &amp;quot;+s_left+&amp;quot; substat for level &amp;quot;+(my_level()+1));&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prints something similar to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt; level&lt;br /&gt;
&lt;br /&gt;
Missing 2839 substat for level 12&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Get a Pagoda==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;pagoda =&amp;gt; acquire 1 ten-leaf clover; acquire 1 Elf Farm Raffle ticket; use 1 Elf Farm Raffle ticket; use 1 Hey Deze map; use 1 ketchup hound&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Make Key Lime Pies==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;makeKLP =&amp;gt; ash foreach i in $items[Jarlsbergs Key Lime Pie, Boris&#039;s     Key Lime Pie, Sneaky Pete&#039;s Key Lime Pie, digital key lime pie, star key     lime pie] { if (creatable_amount(i) &amp;gt; 0) create(creatable_amount(i),i); }&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CLI Commands]]&lt;br /&gt;
&lt;br /&gt;
==Calling ASH Files==&lt;br /&gt;
===EatDrink Shortcut===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias eatdrinkquick =&amp;gt; ashq import &amp;lt;EatDrink.ash&amp;gt;; void main(int advmeat, boolean overdrink) { eatdrink(fullness_limit(), inebriety_limit(), spleen_limit(), overdrink, advmeat, 100, 10, 1000, false); }&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This calls EatDrink with a set of defaults, allowing you to have a shortcut for aftercore or other situations where you want to use as much organ as appropriate.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Alias&amp;diff=3096</id>
		<title>Alias</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Alias&amp;diff=3096"/>
		<updated>2011-05-08T13:47:57Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* See How Many Substats we need to Level */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:alias}}&lt;br /&gt;
Creates a new alias in the KoLmafia CLI or displays the list of registered aliases.&lt;br /&gt;
An alias is a shortcut for complex CLI command(s) that are too long to type every time you want to. To create a new alias, type&lt;br /&gt;
 alias &#039;&#039;[alias_name]&#039;&#039; =&amp;gt; &#039;&#039;[actual_command]&#039;&#039;&lt;br /&gt;
into the CLI, where &amp;lt;code&amp;gt;&#039;&#039;[alias_name]&#039;&#039;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&#039;&#039;[alias_command]&#039;&#039;&amp;lt;/code&amp;gt; are replaced with the shortcut string you want to use and the actual command string. For example, to create an alias &amp;quot;f&amp;quot; for the &amp;lt;code&amp;gt;[[familiar]]&amp;lt;/code&amp;gt; CLI command, type:&lt;br /&gt;
&amp;lt;pre&amp;gt;alias f =&amp;gt; familiar&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, instead of typing &amp;lt;code&amp;gt;familiar pixie&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;familiar sandworm&amp;lt;/code&amp;gt;, you can just type &amp;lt;code&amp;gt;f pixie&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;f sandworm&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To see the list of aliases that you have created so far, type &amp;lt;code&amp;gt;alias&amp;lt;/code&amp;gt; into the CLI without any arguments.&lt;br /&gt;
&lt;br /&gt;
Aliases are preserved across multiple characters. You can remove existing aliases by using the &amp;lt;code&amp;gt;[[unalias]]&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
== Complex Examples ==&lt;br /&gt;
=== Automatically Getting Dentures ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias dentures =&amp;gt; checkpoint; equip frilly skirt; ash visit_url(&amp;quot;inv_use.php?which=3&amp;amp;whichitem=2951&amp;amp;pwd&amp;quot;); visit_url(&amp;quot;choice.php?whichchoice=188&amp;amp;option=3&amp;amp;choiceform3=Catburgle&amp;amp;pwd&amp;quot;); cli_execute(&amp;quot;outfit checkpoint&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equips a frilly skirt, chooses the right choice in the Orcish Frat House Blueprints adventure, and then re-equips whatever pants you had on when you type &#039;&#039;dentures&#039;&#039; into the CLI.&lt;br /&gt;
&lt;br /&gt;
===Open Beach===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias openbeach =&amp;gt; ash if(item_amount($item[sweet rims]) &amp;lt; 1 &amp;amp;&amp;amp; item_amount($item[bitchin&#039; meatcar]) &amp;lt; 1) hermit(1, $item[sweet rims]); retrieve_item(1, $item[bitchin&#039; meatcar]); if(item_amount($item[Degrassi Knoll shopping list]) &amp;lt; 1) visit_url(&amp;quot;guild.php?place=paco&amp;quot;); if(item_amount($item[Degrassi Knoll shopping list]) &amp;gt; 0) use(1, $item[Degrassi Knoll shopping list]); visit_url(&amp;quot;guild.php?place=paco&amp;quot;); visit_url(&amp;quot;forestvillage.php?place=untinker&amp;quot;); if(in_muscle_sign()) {visit_url(&amp;quot;knoll.php?place=smith&amp;quot;); visit_url(&amp;quot;forestvillage.php?place=untinker&amp;quot;); cli_execute(&amp;quot;untinker bitchin&#039; meatcar&amp;quot;);}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This opens the beach, getting the rims from the hermit and accounting for the muscle sign correctly.&lt;br /&gt;
&lt;br /&gt;
=== See How many charges left on Bartender/Chef ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias boxen =&amp;gt; ashq if(have_chef()) print(&amp;quot;Chef turns used: &amp;quot;+get_property(&amp;quot;chefTurnsUsed&amp;quot;),&amp;quot;green&amp;quot;); else print(&amp;quot;No chef-in-a-box&amp;quot;,&amp;quot;gray&amp;quot;); if(have_bartender()) print(&amp;quot;Bartender turns used: &amp;quot;+get_property(&amp;quot;bartenderTurnsUsed&amp;quot;),&amp;quot;green&amp;quot;); else print(&amp;quot;No bartender-in-a-box&amp;quot;,&amp;quot;gray&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This prints something similar to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt; boxen&lt;br /&gt;
&lt;br /&gt;
Chef turns used: 5&lt;br /&gt;
Bartender turns used: 10&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See How Many Substats we need to Level ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias level =&amp;gt; ashq stat s; switch(my_primestat()){case $stat[muscle]:s=$stat[submuscle];break;case $stat[mysticality]:s=$stat[submysticality];break;case $stat[moxie]:s=$stat[submoxie];break;default: } int s_left =(my_level()^2+4)^2 - my_basestat(s);print(&amp;quot;Missing &amp;quot;+s_left+&amp;quot; substat for level &amp;quot;+(my_level()+1));&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prints something similar to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt; level&lt;br /&gt;
&lt;br /&gt;
Missing 2839 substat for level 12&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CLI Commands]]&lt;br /&gt;
&lt;br /&gt;
==Calling ASH Files==&lt;br /&gt;
===EatDrink Shortcut===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias eatdrinkquick =&amp;gt; ashq import &amp;lt;EatDrink.ash&amp;gt;; void main(int advmeat, boolean overdrink) { eatdrink(fullness_limit(), inebriety_limit(), spleen_limit(), overdrink, advmeat, 100, 10, 1000, false); }&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This calls EatDrink with a set of defaults, allowing you to have a shortcut for aftercore or other situations where you want to use as much organ as appropriate.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Alias&amp;diff=3095</id>
		<title>Alias</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Alias&amp;diff=3095"/>
		<updated>2010-10-31T10:21:09Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* Automatically Getting Dentures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:alias}}&lt;br /&gt;
Creates a new alias in the KoLmafia CLI or displays the list of registered aliases.&lt;br /&gt;
An alias is a shortcut for complex CLI command(s) that are too long to type every time you want to. To create a new alias, type&lt;br /&gt;
 alias &#039;&#039;[alias_name]&#039;&#039; =&amp;gt; &#039;&#039;[actual_command]&#039;&#039;&lt;br /&gt;
into the CLI, where &amp;lt;code&amp;gt;&#039;&#039;[alias_name]&#039;&#039;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&#039;&#039;[alias_command]&#039;&#039;&amp;lt;/code&amp;gt; are replaced with the shortcut string you want to use and the actual command string. For example, to create an alias &amp;quot;f&amp;quot; for the &amp;lt;code&amp;gt;[[familiar]]&amp;lt;/code&amp;gt; CLI command, type:&lt;br /&gt;
&amp;lt;pre&amp;gt;alias f =&amp;gt; familiar&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, instead of typing &amp;lt;code&amp;gt;familiar pixie&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;familiar sandworm&amp;lt;/code&amp;gt;, you can just type &amp;lt;code&amp;gt;f pixie&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;f sandworm&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To see the list of aliases that you have created so far, type &amp;lt;code&amp;gt;alias&amp;lt;/code&amp;gt; into the CLI without any arguments.&lt;br /&gt;
&lt;br /&gt;
Aliases are preserved across multiple characters. You can remove existing aliases by using the &amp;lt;code&amp;gt;[[unalias]]&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
== Complex Examples ==&lt;br /&gt;
=== Automatically Getting Dentures ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias dentures =&amp;gt; checkpoint; equip frilly skirt; ash visit_url(&amp;quot;inv_use.php?which=3&amp;amp;whichitem=2951&amp;amp;pwd&amp;quot;); visit_url(&amp;quot;choice.php?whichchoice=188&amp;amp;option=3&amp;amp;choiceform3=Catburgle&amp;amp;pwd&amp;quot;); cli_execute(&amp;quot;outfit checkpoint&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equips a frilly skirt, chooses the right choice in the Orcish Frat House Blueprints adventure, and then re-equips whatever pants you had on when you type &#039;&#039;dentures&#039;&#039; into the CLI.&lt;br /&gt;
&lt;br /&gt;
===Open Beach===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias openbeach =&amp;gt; ash if(item_amount($item[sweet rims]) &amp;lt; 1 &amp;amp;&amp;amp; item_amount($item[bitchin&#039; meatcar]) &amp;lt; 1) hermit(1, $item[sweet rims]); retrieve_item(1, $item[bitchin&#039; meatcar]); if(item_amount($item[Degrassi Knoll shopping list]) &amp;lt; 1) visit_url(&amp;quot;guild.php?place=paco&amp;quot;); if(item_amount($item[Degrassi Knoll shopping list]) &amp;gt; 0) use(1, $item[Degrassi Knoll shopping list]); visit_url(&amp;quot;guild.php?place=paco&amp;quot;); visit_url(&amp;quot;forestvillage.php?place=untinker&amp;quot;); if(in_muscle_sign()) {visit_url(&amp;quot;knoll.php?place=smith&amp;quot;); visit_url(&amp;quot;forestvillage.php?place=untinker&amp;quot;); cli_execute(&amp;quot;untinker bitchin&#039; meatcar&amp;quot;);}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This opens the beach, getting the rims from the hermit and accounting for the muscle sign correctly.&lt;br /&gt;
&lt;br /&gt;
=== See How many charges left on Bartender/Chef ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias boxen =&amp;gt; ashq if(have_chef()) print(&amp;quot;Chef turns used: &amp;quot;+get_property(&amp;quot;chefTurnsUsed&amp;quot;),&amp;quot;green&amp;quot;); else print(&amp;quot;No chef-in-a-box&amp;quot;,&amp;quot;gray&amp;quot;); if(have_bartender()) print(&amp;quot;Bartender turns used: &amp;quot;+get_property(&amp;quot;bartenderTurnsUsed&amp;quot;),&amp;quot;green&amp;quot;); else print(&amp;quot;No bartender-in-a-box&amp;quot;,&amp;quot;gray&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This prints something similar to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt; boxen&lt;br /&gt;
&lt;br /&gt;
Chef turns used: 5&lt;br /&gt;
Bartender turns used: 10&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See How Many Substats we need to Level ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space:pre-wrap;&amp;quot;&amp;gt;alias level =&amp;gt; ashq stat s; switch(my_primestat()){case $stat[muscle]:s=$stat[submuscle];break;case $stat[mysticality]:s=$stat[submysticality];break;case $stat[moxie]:s=$stat[submoxie];break;default: } int s_left =(my_level()^2+4)^2 - my_basestat(s);print(&amp;quot;Missing &amp;quot;+s_left+&amp;quot; substat for level &amp;quot;+(my_level()+1));&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prints something similar to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt; level&lt;br /&gt;
&lt;br /&gt;
Missing 2839 substat for level 12&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CLI Commands]]&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Alias&amp;diff=3092</id>
		<title>Alias</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Alias&amp;diff=3092"/>
		<updated>2010-10-24T09:52:00Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* Complex Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:alias}}&lt;br /&gt;
Creates a new alias in the KoLmafia CLI or displays the list of registered aliases.&lt;br /&gt;
An alias is a shortcut for complex CLI command(s) that are too long to type every time you want to. To create a new alias, type&lt;br /&gt;
 alias &#039;&#039;[alias_name]&#039;&#039; =&amp;gt; &#039;&#039;[actual_command]&#039;&#039;&lt;br /&gt;
into the CLI, where &amp;lt;code&amp;gt;&#039;&#039;[alias_name]&#039;&#039;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&#039;&#039;[alias_command]&#039;&#039;&amp;lt;/code&amp;gt; are replaced with the shortcut string you want to use and the actual command string. For example, to create an alias &amp;quot;f&amp;quot; for the &amp;lt;code&amp;gt;[[familiar]]&amp;lt;/code&amp;gt; CLI command, type:&lt;br /&gt;
&amp;lt;pre&amp;gt;alias f =&amp;gt; familiar&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, instead of typing &amp;lt;code&amp;gt;familiar pixie&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;familiar sandworm&amp;lt;/code&amp;gt;, you can just type &amp;lt;code&amp;gt;f pixie&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;f sandworm&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To see the list of aliases that you have created so far, type &amp;lt;code&amp;gt;alias&amp;lt;/code&amp;gt; into the CLI without any arguments.&lt;br /&gt;
&lt;br /&gt;
Aliases are preserved across multiple characters. You can remove existing aliases by using the &amp;lt;code&amp;gt;[[unalias]]&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&lt;br /&gt;
== Complex Examples ==&lt;br /&gt;
=== Automatically Getting Dentures ===&lt;br /&gt;
&amp;lt;pre&amp;gt;alias dentures =&amp;gt; checkpoint; equip frilly skirt; ash visit_url(&amp;quot;inv_use.php?which=3&amp;amp;whichitem=2951&amp;amp;pwd&amp;quot;); visit_url(&amp;quot;choice.php?whichchoice=188&amp;amp;option=3&amp;amp;choiceform3=Catburgle&amp;amp;pwd&amp;quot;); cli_execute(&amp;quot;outfit checkpoint&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equips a frilly skirt, chooses the right choice in the Orcish Frat House Blueprints adventure, and then re-equips whatever pants you had on when you type &#039;&#039;dentures&#039;&#039; into the CLI.&lt;br /&gt;
&lt;br /&gt;
=== See How many charges left on Bartender/Chef ===&lt;br /&gt;
&amp;lt;pre&amp;gt;alias boxen =&amp;gt; ashq if(have_chef()) print(&amp;quot;Chef turns used: &amp;quot;+get_property(&amp;quot;chefTurnsUsed&amp;quot;),&amp;quot;green&amp;quot;); else print(&amp;quot;No chef-in-a-box&amp;quot;,&amp;quot;gray&amp;quot;); if(have_bartender()) print(&amp;quot;Bartender turns used: &amp;quot;+get_property(&amp;quot;bartenderTurnsUsed&amp;quot;),&amp;quot;green&amp;quot;); else print(&amp;quot;No bartender-in-a-box&amp;quot;,&amp;quot;gray&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This prints something similar to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt; boxen&lt;br /&gt;
&lt;br /&gt;
Chef turns used: 5&lt;br /&gt;
Bartender turns used: 10&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See How Many Substats we need to Level ===&lt;br /&gt;
&amp;lt;pre&amp;gt;level =&amp;gt; ashq stat s; switch(my_primestat()){case $stat[muscle]:s=$stat[submuscle];break;case $stat[mysticality]:s=$stat[submysticality];break;case $stat[moxie]:s=$stat[submoxie];break;default: } int s_left =(my_level()^2+4)^2 - my_basestat(s);print(&amp;quot;Missing &amp;quot;+s_left+&amp;quot; substat for level &amp;quot;+(my_level()+1));&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prints something similar to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt; level&lt;br /&gt;
&lt;br /&gt;
Missing 2839 substat for level 12&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CLI Commands]]&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Contains_text&amp;diff=5262</id>
		<title>Contains text</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Contains_text&amp;diff=5262"/>
		<updated>2010-10-16T09:06:35Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|contains_text}}{{&lt;br /&gt;
#vardefine:return_type|boolean}}{{&lt;br /&gt;
&lt;br /&gt;
FunctionPage|&lt;br /&gt;
&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
&lt;br /&gt;
function1={{Function|&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
aggregate={{#var:aggregate}}|&lt;br /&gt;
return_type={{#var:return_type}}|&lt;br /&gt;
return_also={{#var:return_also}}|&lt;br /&gt;
parameter1={{Param|string|str}}|&lt;br /&gt;
parameter2={{Param|string|substring}}|&lt;br /&gt;
p1desc={{pspan|str}} is the string you want to test.|&lt;br /&gt;
p2desc={{pspan|substring}} is the substring you want to check is present inside {{pspan|str}}.&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Returns true if {{pspan|substring}} can be found within {{pspan|str}}.|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Samples|&lt;br /&gt;
description=This function tests to see whether the string &amp;quot;Hello World!&amp;quot; contains the word &amp;quot;World&amp;quot;.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
boolean string_check(){&lt;br /&gt;
   if(contains_text(&amp;quot;Hello World!&amp;quot; , &amp;quot;World&amp;quot;)){&lt;br /&gt;
      return true;&lt;br /&gt;
   }&lt;br /&gt;
   return false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{CodeSample|&lt;br /&gt;
description=This function tests to see whether a character is in a clan.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
boolean in_clan(){&lt;br /&gt;
   string character = visit_url(&amp;quot;showplayer.php?who=&amp;quot; + my_id().to_string());&lt;br /&gt;
   if(contains_text(character , &amp;quot;showclan.php?whichclan&amp;quot;)){&lt;br /&gt;
      return true;&lt;br /&gt;
   }&lt;br /&gt;
   return false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{CodeSample|&lt;br /&gt;
description=Or this, more concise version...|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
boolean in_clan(){&lt;br /&gt;
      return contains_text(visit_url(&amp;quot;showplayer.php?who=&amp;quot; + my_id().to_string()), &amp;quot;showclan.php?whichclan&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
see_also={{SeeAlso|visit_url|my_id|to_string}}|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:String Handling Routines]]&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=User:Bumcheekcity&amp;diff=7192</id>
		<title>User:Bumcheekcity</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=User:Bumcheekcity&amp;diff=7192"/>
		<updated>2010-09-27T19:12:53Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: Created page with &amp;#039;==Changing your Tattoo to a Random One== The below code is an ASH script. Save it as &amp;quot;breakfast.ash&amp;quot; and set it to run at breakfast using Mafia&amp;#039;s breakfast settings.  matcher m =…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Changing your Tattoo to a Random One==&lt;br /&gt;
The below code is an ASH script. Save it as &amp;quot;breakfast.ash&amp;quot; and set it to run at breakfast using Mafia&#039;s breakfast settings.&lt;br /&gt;
&lt;br /&gt;
matcher m = create_matcher(&amp;quot;&amp;lt;input type=radio name=newsigil value=\&amp;quot;([a-zA-Z0-9]+)\&amp;quot;&amp;gt;&amp;quot;, visit_url(&amp;quot;account_tattoos.php&amp;quot;));int i=0;string[int] zomg;while(find(m)){zomg[i]=group(m,1);i=i+1;}i = random(i);visit_url(&amp;quot;account_tattoos.php?newsigil=&amp;quot;+zomg[i]+&amp;quot;&amp;amp;pwd=&amp;quot;+my_hash());print(&amp;quot;Tattoo changed to &amp;quot;+zomg[i]+&amp;quot;.gif&amp;quot;);&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Get_ingredients&amp;diff=4890</id>
		<title>Get ingredients</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Get_ingredients&amp;diff=4890"/>
		<updated>2010-05-20T17:41:10Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|get_ingredients}}{{&lt;br /&gt;
#vardefine:return_type|int [item]}}{{&lt;br /&gt;
#vardefine:aggregate|yes}}{{&lt;br /&gt;
&lt;br /&gt;
FunctionPage|&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
function_category=Item Management|&lt;br /&gt;
&lt;br /&gt;
function1={{Function|&lt;br /&gt;
name={{#var:name}}|&lt;br /&gt;
aggregate={{#var:aggregate}}|&lt;br /&gt;
return_type={{#var:return_type}}|&lt;br /&gt;
return_also={{#var:return_also}}|&lt;br /&gt;
parameter1={{Param|item|parse_me}}|&lt;br /&gt;
p1desc={{Pspan|parse_me}} is the creatable item to list the ingredients for|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Returns a map keyed by item names with the values equal to the quantity of each ingredient required to make {{pspan|parse_me}}. Note that for multi-stage crafting (where you combine several items to get intermediate items, and then combine those for the final result), only the last stage of requirements is listed. This function will parse items that can be created through multi-use of items as well as &amp;quot;traditional&amp;quot; creation methods such as cooking, cocktailcrafting, and smithing.|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=Check to see if the character can equip a Hippo Poncho.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
int [item] reqd = get_ingredients($item[SOMETHING]);&lt;br /&gt;
foreach i in reqd {&lt;br /&gt;
  if (item_amount(i) &amp;lt; reqd[i]) print(&amp;quot;You don&#039;t have enough: &amp;quot; + i.to_string());&lt;br /&gt;
}  &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
more_info=See the Coldfront&#039;s wiki page on [http://kol.coldfront.net/thekolwiki/index.php/Discoveries Discoveries] for more information.|&lt;br /&gt;
special= Returns an empty map for items that cannot be created at the moment, taking into account gender, skills, adventures remaining, tools in inventory, current date, and access to certain forms of crafting (e.g. Crimbo Town).|&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3372</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3372"/>
		<updated>2010-02-22T21:22:59Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: rrv&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;This is the main function template. Supply the function &#039;&#039;name,&#039;&#039; the data type of the value it &#039;&#039;returns,&#039;&#039; and what, if any, &#039;&#039;parameters&#039;&#039; it takes.&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[[{{{returns}}}]]&#039;&#039;&#039; &#039;&#039;&#039;{{{name}}}(&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{{parameters}}}&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;)&#039;&#039;&#039;&lt;br /&gt;
{{#if: p1 | &#039;&#039;&#039;{{{p1t}}}&#039;&#039;&#039; {{{p1}}} - {{{p1d}}} }}&lt;br /&gt;
{{#if: p2 | &#039;&#039;&#039;{{{p2t}}}&#039;&#039;&#039; {{{p2}}} - {{{p2d}}} }}&lt;br /&gt;
{{#if: p3 | &#039;&#039;&#039;{{{p3t}}}&#039;&#039;&#039; {{{p3}}} - {{{p3d}}} }}&lt;br /&gt;
{{#if: p4 | &#039;&#039;&#039;{{{p4t}}}&#039;&#039;&#039; {{{p4}}} - {{{p4d}}} }}&lt;br /&gt;
{{#if: p5 | &#039;&#039;&#039;{{{p5t}}}&#039;&#039;&#039; {{{p5}}} - {{{p5d}}} }}&lt;br /&gt;
[[Category:Ash Functions]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3371</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3371"/>
		<updated>2010-02-22T21:21:07Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: rv&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;This is the main function template. Supply the function &#039;&#039;name,&#039;&#039; the data type of the value it &#039;&#039;returns,&#039;&#039; and what, if any, &#039;&#039;parameters&#039;&#039; it takes.&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[[{{{returns|}}}]]&#039;&#039;&#039; &#039;&#039;&#039;{{{name}}}(&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{{parameters|}}}&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;)&#039;&#039;&#039;&lt;br /&gt;
[[Category:Ash Functions]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3370</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3370"/>
		<updated>2010-02-22T21:13:37Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;This is the main function template. Supply the function &#039;&#039;name,&#039;&#039; the data type of the value it &#039;&#039;returns,&#039;&#039; and what, if any, &#039;&#039;parameters&#039;&#039; it takes.&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[[{{{returns}}}]]&#039;&#039;&#039; &#039;&#039;&#039;{{{name}}}(&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{{parameters}}}&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;)&#039;&#039;&#039;&lt;br /&gt;
{{#if: p1 | &#039;&#039;&#039;{{{p1t}}}&#039;&#039;&#039; {{{p1}}} - {{{p1d}}} }}&lt;br /&gt;
{{#if: p2 | &#039;&#039;&#039;{{{p2t}}}&#039;&#039;&#039; {{{p2}}} - {{{p2d}}} }}&lt;br /&gt;
{{#if: p3 | &#039;&#039;&#039;{{{p3t}}}&#039;&#039;&#039; {{{p3}}} - {{{p3d}}} }}&lt;br /&gt;
{{#if: p4 | &#039;&#039;&#039;{{{p4t}}}&#039;&#039;&#039; {{{p4}}} - {{{p4d}}} }}&lt;br /&gt;
{{#if: p5 | &#039;&#039;&#039;{{{p5t}}}&#039;&#039;&#039; {{{p5}}} - {{{p5d}}} }}&lt;br /&gt;
[[Category:Ash Functions]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3369</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3369"/>
		<updated>2010-02-22T21:09:27Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;This is the main function template. Supply the function &#039;&#039;name,&#039;&#039; the data type of the value it &#039;&#039;returns,&#039;&#039; and what, if any, &#039;&#039;parameters&#039;&#039; it takes.&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[[{{{returns}}}]]&#039;&#039;&#039; &#039;&#039;&#039;{{{name}}}(&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{{parameters}}}&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;)&#039;&#039;&#039;&lt;br /&gt;
{{{#if: p1 | &#039;&#039;&#039;{{{p1t}}}&#039;&#039;&#039; {{{p1}}} - {{{p1d}}} }}}&lt;br /&gt;
{{{#if: p2 | &#039;&#039;&#039;{{{p2t}}}&#039;&#039;&#039; {{{p2}}} - {{{p2d}}} }}}&lt;br /&gt;
{{{#if: p3 | &#039;&#039;&#039;{{{p3t}}}&#039;&#039;&#039; {{{p3}}} - {{{p3d}}} }}}&lt;br /&gt;
{{{#if: p4 | &#039;&#039;&#039;{{{p4t}}}&#039;&#039;&#039; {{{p4}}} - {{{p4d}}} }}}&lt;br /&gt;
{{{#if: p5 | &#039;&#039;&#039;{{{p5t}}}&#039;&#039;&#039; {{{p5}}} - {{{p5d}}} }}}&lt;br /&gt;
[[Category:Ash Functions]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3368</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3368"/>
		<updated>2010-02-22T21:08:49Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;This is the main function template. Supply the function &#039;&#039;name,&#039;&#039; the data type of the value it &#039;&#039;returns,&#039;&#039; and what, if any, &#039;&#039;parameters&#039;&#039; it takes.&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[[{{{returns}}}]]&#039;&#039;&#039; &#039;&#039;&#039;{{{name}}}(&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{{parameters}}}&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;)&#039;&#039;&#039;&lt;br /&gt;
{{{#if: p1 | &#039;&#039;&#039;{{{p1t}}}&#039;&#039;&#039; {{{p1}}} - {{{p1d}}} }}}&lt;br /&gt;
[[Category:Ash Functions]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3367</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3367"/>
		<updated>2010-02-22T21:08:24Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;This is the main function template. Supply the function &#039;&#039;name,&#039;&#039; the data type of the value it &#039;&#039;returns,&#039;&#039; and what, if any, &#039;&#039;parameters&#039;&#039; it takes.&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;[[{{{returns}}}]]&#039;&#039;&#039; &#039;&#039;&#039;{{{name}}}(&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{{parameters}}}&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;)&#039;&#039;&#039;&lt;br /&gt;
{{#if: p1 | &#039;&#039;&#039;{{{p1t}}}&#039;&#039;&#039; {{{p1}}} - {{{p1d}}} }}&lt;br /&gt;
[[Category:Ash Functions]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Retrieve_item&amp;diff=2777</id>
		<title>Retrieve item</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Retrieve_item&amp;diff=2777"/>
		<updated>2010-02-22T20:58:47Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{function|&lt;br /&gt;
name=retrieve_item|&lt;br /&gt;
returns=boolean|&lt;br /&gt;
description=uses KoLmafia internal logic to gather the items in the least destructive manner. &#039;&#039;See the “acquire” documentation in the CLI manual for more details.&#039;&#039;|&lt;br /&gt;
p1=quantity|&lt;br /&gt;
p1t=int|&lt;br /&gt;
p1d=The quantity of the item you wish to retrieve|&lt;br /&gt;
p2=itemname|&lt;br /&gt;
p2t=item|&lt;br /&gt;
p2d=The name of the item.|&lt;br /&gt;
examplecode=# function to get your class-specific Epic Weapon hermit item&lt;br /&gt;
boolean get_epic_item()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
  item[class] epic_items;&lt;br /&gt;
  epic_items[$class[seal clubber]] = $item[seal tooth];&lt;br /&gt;
  epic_items[$class[turtle tamer]] = $item[chisel];&lt;br /&gt;
  epic_items[$class[pastamancer]] = $item[petrified noodles];&lt;br /&gt;
  epic_items[$class[sauceror]] = $item[jabañero pepper];&lt;br /&gt;
  epic_items[$class[disco bandit]] = $item[banjo strings];&lt;br /&gt;
  epic_items[$class[accordion thief]] = $item[hot buttered roll];&lt;br /&gt;
&lt;br /&gt;
  return retrieve_item(1, epic_items[my_class()]);&lt;br /&gt;
&lt;br /&gt;
}|&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3324</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3324"/>
		<updated>2010-02-13T12:29:02Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
InventoryManager.hasItem( final int itemId )	&lt;br /&gt;
InventoryManager.hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&lt;br /&gt;
InventoryManager.hasItem( 1650, true );&lt;br /&gt;
InventoryManager.hasItem( ItemPool.MILK_OF_MAGNESIUM, true );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true.&lt;br /&gt;
&lt;br /&gt;
===The Item Pool===&lt;br /&gt;
The Item Pool, at &#039;&#039;&#039;/objectpool/itempool/ItemPool.java&#039;&#039;&#039; is primarily a list of items, mapped to their item number. Its purpose is to make code more readable. ItemPool.UNDERWORLD_ACORN is much more obvious than &amp;quot;4274&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Create an Item===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
CreateItemRequest beltCreator = CreateItemRequest.getInstance( ItemPool.BADASS_BELT );&lt;br /&gt;
// getQuantityPossible() should take meat paste or&lt;br /&gt;
// Muscle Sign into account&lt;br /&gt;
if ( beltCreator.getQuantityPossible() &amp;gt; 0 )&lt;br /&gt;
{&lt;br /&gt;
	beltCreator.setQuantityNeeded( 1 );&lt;br /&gt;
	RequestThread.postRequest( beltCreator );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Indicate that Meat or Items have been Gained or Lost===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
ResultProcessor.processMeat( -300 );&lt;br /&gt;
ResultProcessor.processItem( ItemPool.WET_STUNT_NUT_STEW, -1 );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Obviously just change the negative numbers to positive ones to indicate gaining items or meat. &lt;br /&gt;
&lt;br /&gt;
===Inventory or Meat changes as results of gaining an Item===&lt;br /&gt;
Occasionally, gaining an item means silently losing others, and this needs to be reflected. For example, when we gain the S.O.C.K., we lose the four Immateria, and when we gain the steel margarita/lasagne/-scented air freshener we lose Azazel&#039;s unicorn, lollipop and tutu. &lt;br /&gt;
&lt;br /&gt;
Go to /session/ResultProcessor.java and edit the gainItem() function intuitively.&lt;br /&gt;
&lt;br /&gt;
Note that this should not be used for items that can, for example, be bought in the mall. It is only suitable for items that can only be obtained through quest adventuring.&lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;br /&gt;
&lt;br /&gt;
===See if we are under any effect===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( EffectPool.get( &amp;quot;Half-Astral&amp;quot;  ) );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or we could add &amp;quot;Half-Astral&amp;quot; to the /objectpool/EffectPool.java file, and then use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( EffectPool.get( EffectPool.HALF_ASTRAL ) );&lt;br /&gt;
&lt;br /&gt;
AdventureResult astral = EffectPool.get( EffectPool.HALF_ASTRAL );&lt;br /&gt;
KoLConstants.activeEffects.contains( astral );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would have the advantage of only needing a single change should Jick ever decide to change the name of an effect.&lt;br /&gt;
&lt;br /&gt;
==Iteracting with the Player==&lt;br /&gt;
===A Yes/No dialogue box===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
if ( !InputFieldUtilities.confirm( &amp;quot;Are you sure you want to drink without ode?&amp;quot; ) )&lt;br /&gt;
{&lt;br /&gt;
	return false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Is the Script being run unattended?===&lt;br /&gt;
If Mafia is being run from the command line, or similar, a user may not be able to see, let alone answer, dialogue boxes. In this case:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
StaticEntity.isHeadless()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
returns &#039;&#039;true&#039;&#039; if the user can not respond to dialogue boxes.&lt;br /&gt;
&lt;br /&gt;
==Changing Text on a Page==&lt;br /&gt;
Edit RequestEditorKit.java.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3323</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3323"/>
		<updated>2010-02-01T22:03:26Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* Items */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
InventoryManager.hasItem( final int itemId )	&lt;br /&gt;
InventoryManager.hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&lt;br /&gt;
InventoryManager.hasItem( 1650, true );&lt;br /&gt;
InventoryManager.hasItem( ItemPool.MILK_OF_MAGNESIUM, true );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true.&lt;br /&gt;
&lt;br /&gt;
===The Item Pool===&lt;br /&gt;
The Item Pool, at &#039;&#039;&#039;/objectpool/itempool/ItemPool.java&#039;&#039;&#039; is primarily a list of items, mapped to their item number. Its purpose is to make code more readable. ItemPool.UNDERWORLD_ACORN is much more obvious than &amp;quot;4274&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Create an Item===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
CreateItemRequest beltCreator = CreateItemRequest.getInstance( ItemPool.BADASS_BELT );&lt;br /&gt;
// getQuantityPossible() should take meat paste or&lt;br /&gt;
// Muscle Sign into account&lt;br /&gt;
if ( beltCreator.getQuantityPossible() &amp;gt; 0 )&lt;br /&gt;
{&lt;br /&gt;
	beltCreator.setQuantityNeeded( 1 );&lt;br /&gt;
	RequestThread.postRequest( beltCreator );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Indicate that Meat or Items have been Gained or Lost===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
ResultProcessor.processMeat( -300 );&lt;br /&gt;
ResultProcessor.processItem( ItemPool.WET_STUNT_NUT_STEW, -1 );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Obviously just change the negative numbers to positive ones to indicate gaining items or meat. &lt;br /&gt;
&lt;br /&gt;
===Inventory or Meat changes as results of gaining an Item===&lt;br /&gt;
Occasionally, gaining an item means silently losing others, and this needs to be reflected. For example, when we gain the S.O.C.K., we lose the four Immateria, and when we gain the steel margarita/lasagne/-scented air freshener we lose Azazel&#039;s unicorn, lollipop and tutu. &lt;br /&gt;
&lt;br /&gt;
Go to /session/ResultProcessor.java and edit the gainItem() function intuitively.&lt;br /&gt;
&lt;br /&gt;
Note that this should not be used for items that can, for example, be bought in the mall. It is only suitable for items that can only be obtained through quest adventuring.&lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;br /&gt;
&lt;br /&gt;
===See if we are under any effect===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( EffectPool.get( &amp;quot;Half-Astral&amp;quot;  ) );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or we could add &amp;quot;Half-Astral&amp;quot; to the /objectpool/EffectPool.java file, and then use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( EffectPool.get( EffectPool.HALF_ASTRAL ) );&lt;br /&gt;
&lt;br /&gt;
AdventureResult astral = EffectPool.get( EffectPool.HALF_ASTRAL );&lt;br /&gt;
KoLConstants.activeEffects.contains( astral );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would have the advantage of only needing a single change should Jick ever decide to change the name of an effect.&lt;br /&gt;
&lt;br /&gt;
==Iteracting with the Player==&lt;br /&gt;
===A Yes/No dialogue box===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
if ( !InputFieldUtilities.confirm( &amp;quot;Are you sure you want to drink without ode?&amp;quot; ) )&lt;br /&gt;
{&lt;br /&gt;
	return false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Is the Script being run unattended?===&lt;br /&gt;
If Mafia is being run from the command line, or similar, a user may not be able to see, let alone answer, dialogue boxes. In this case:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
StaticEntity.isHeadless()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
returns &#039;&#039;true&#039;&#039; if the user can not respond to dialogue boxes.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3330</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3330"/>
		<updated>2010-02-01T19:03:11Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
dobedo&lt;br /&gt;
&amp;lt;div style=&amp;quot;position:relative&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:80%;text-align:right;position:absolute;top:0px;right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{{{returns}}} {{{name}}}( {{#if:{{{arg1|}}}{{{arg1}}}}} {{#if:{{{arg2|}}},{{{arg2}}}}} )&amp;lt;br /&amp;gt;&lt;br /&gt;
{{#if:{{{noarg|}}}This function has no arguments.&amp;lt;br /&amp;gt;}}&lt;br /&gt;
{{{description}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This is the main function template.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3329</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3329"/>
		<updated>2010-02-01T19:01:31Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
dobedo&lt;br /&gt;
&amp;lt;div style=&amp;quot;position:relative&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:80%;text-align:right;position:absolute;top:0px;right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{{{returns}}} {{{name}}}()&lt;br /&gt;
{{#if:{{{noarg|}}}This function has no arguments. }}&lt;br /&gt;
{{#if:{{{arg1|}}}Argument 1: {{{arg1}}}}}&lt;br /&gt;
{{{description}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This is the main function template.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3328</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3328"/>
		<updated>2010-02-01T19:01:15Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
dobedo&lt;br /&gt;
&amp;lt;div style=&amp;quot;position:relative&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:80%;text-align:right;position:absolute;top:0px;right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{{{returns}}} {{{name}}}()&lt;br /&gt;
{{#if:{{{noarg|}}}This function has no arguments. }}&lt;br /&gt;
{{#if:{{{arg1|}}}Argument 1: {{{arg1}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This is the main function template.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=My_name&amp;diff=1646</id>
		<title>My name</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=My_name&amp;diff=1646"/>
		<updated>2010-02-01T18:59:25Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{function|&lt;br /&gt;
name=my_name|&lt;br /&gt;
noarg=1|&lt;br /&gt;
returns=string|&lt;br /&gt;
description=Returns the logged-in character&#039;s name as a [[string]].}}&lt;br /&gt;
&lt;br /&gt;
[[string]] [[my_name()]]&lt;br /&gt;
&lt;br /&gt;
This function returns the logged-in character&#039;s name as a [[string]].&lt;br /&gt;
&lt;br /&gt;
This example imports different breakfast scripts depending on which character is running the script.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  if ([[my_name()]] == &amp;quot;zammywarrior&amp;quot;) {&lt;br /&gt;
    [[import]] &amp;lt;Zammy Morning.ash&amp;gt;;&lt;br /&gt;
  }&lt;br /&gt;
  else if ([[my_name()]] == &amp;quot;hippymon&amp;quot;) {&lt;br /&gt;
    [[import]] &amp;lt;Hippy Morning.ash&amp;gt;;&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that capitalization is not strictly adhered to. When using [[my_name()]] the following examples are functionally equivalent:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  if ([[my_name()]] == &amp;quot;That FN Ninja&amp;quot;) {&lt;br /&gt;
     [[comments| // code]]&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  if ([[my_name()]] == &amp;quot;that fn ninja&amp;quot;) {&lt;br /&gt;
     [[comments|// code]]&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
[[Category:Your Character | My name()]]&lt;br /&gt;
[[Category:Ash Functions | My name()]]&lt;br /&gt;
&lt;br /&gt;
When not logged in, this function returns an empty string.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3327</id>
		<title>Template:Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Template:Function&amp;diff=3327"/>
		<updated>2010-02-01T18:54:37Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: Created page with &amp;#039;&amp;lt;includeonly&amp;gt; __NOTOC__ dobedo &amp;lt;div style=&amp;quot;position:relative&amp;quot;&amp;gt; &amp;lt;div style=&amp;quot;font-size:80%;text-align:right;position:absolute;top:0px;right:15px;&amp;quot;&amp;gt; {{name}} {{#if:{{{arg1|}}}Argume…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
dobedo&lt;br /&gt;
&amp;lt;div style=&amp;quot;position:relative&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:80%;text-align:right;position:absolute;top:0px;right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{{name}}&lt;br /&gt;
{{#if:{{{arg1|}}}Argument 1: {{{arg1}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This is the main function template.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3322</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3322"/>
		<updated>2010-02-01T17:36:42Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* The Item Pool */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
InventoryManager.hasItem( final int itemId )	&lt;br /&gt;
InventoryManager.hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&lt;br /&gt;
InventoryManager.hasItem( 1650, true );&lt;br /&gt;
InventoryManager.hasItem( ItemPool.MILK_OF_MAGNESIUM, true );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true.&lt;br /&gt;
&lt;br /&gt;
===The Item Pool===&lt;br /&gt;
The Item Pool, at &#039;&#039;&#039;/objectpool/itempool/ItemPool.java&#039;&#039;&#039; is primarily a list of items, mapped to their item number. Its purpose is to make code more readable. ItemPool.UNDERWORLD_ACORN is much more obvious than &amp;quot;4274&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Create an Item===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
CreateItemRequest beltCreator = CreateItemRequest.getInstance( ItemPool.BADASS_BELT );&lt;br /&gt;
// getQuantityPossible() should take meat paste or&lt;br /&gt;
// Muscle Sign into account&lt;br /&gt;
if ( beltCreator.getQuantityPossible() &amp;gt; 0 )&lt;br /&gt;
{&lt;br /&gt;
	beltCreator.setQuantityNeeded( 1 );&lt;br /&gt;
	RequestThread.postRequest( beltCreator );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Indicate that Meat or Items have been Gained or Lost===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
ResultProcessor.processMeat( -300 );&lt;br /&gt;
ResultProcessor.processItem( ItemPool.WET_STUNT_NUT_STEW, -1 );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Obviously just change the negative numbers to positive ones to indicate gaining items or meat. &lt;br /&gt;
&lt;br /&gt;
===Inventory or Meat changes as results of gaining an Item===&lt;br /&gt;
Occasionally, gaining an item means silently losing others, and this needs to be reflected. For example, when we gain the S.O.C.K., we lose the four Immateria, and when we gain the steel margarita/lasagne/-scented air freshener we lose Azazel&#039;s unicorn, lollipop and tutu. &lt;br /&gt;
&lt;br /&gt;
Go to /session/ResultProcessor.java and edit the gainItem() function intuitively.&lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;br /&gt;
&lt;br /&gt;
===See if we are under any effect===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( EffectPool.get( &amp;quot;Half-Astral&amp;quot;  ) );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or we could add &amp;quot;Half-Astral&amp;quot; to the /objectpool/EffectPool.java file, and then use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( EffectPool.get( EffectPool.HALF_ASTRAL ) );&lt;br /&gt;
&lt;br /&gt;
AdventureResult astral = EffectPool.get( EffectPool.HALF_ASTRAL );&lt;br /&gt;
KoLConstants.activeEffects.contains( astral );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would have the advantage of only needing a single change should Jick ever decide to change the name of an effect.&lt;br /&gt;
&lt;br /&gt;
==Iteracting with the Player==&lt;br /&gt;
===A Yes/No dialogue box===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
if ( !InputFieldUtilities.confirm( &amp;quot;Are you sure you want to drink without ode?&amp;quot; ) )&lt;br /&gt;
{&lt;br /&gt;
	return false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Is the Script being run unattended?===&lt;br /&gt;
If Mafia is being run from the command line, or similar, a user may not be able to see, let alone answer, dialogue boxes. In this case:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
StaticEntity.isHeadless()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
returns &#039;&#039;true&#039;&#039; if the user can not respond to dialogue boxes.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3321</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3321"/>
		<updated>2010-02-01T17:24:31Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* See if we are under the effects of Ode or Got Milk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
InventoryManager.hasItem( final int itemId )	&lt;br /&gt;
InventoryManager.hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&lt;br /&gt;
InventoryManager.hasItem( 1650, true );&lt;br /&gt;
InventoryManager.hasItem( ItemPool.MILK_OF_MAGNESIUM, true );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true.&lt;br /&gt;
&lt;br /&gt;
===The Item Pool===&lt;br /&gt;
The Item Pool, at &#039;&#039;&#039;/objectpool/itempool/ItemPool.java&#039;&#039;&#039; is primarily a list of items, mapped to their item number. Its purpose is to make code more readable. ItemPool.UNDERWORLD_ACORN is much more obvious than &amp;quot;4274&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;br /&gt;
&lt;br /&gt;
===See if we are under any effect===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( EffectPool.get( &amp;quot;Half-Astral&amp;quot;  ) );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or we could add &amp;quot;Half-Astral&amp;quot; to the /objectpool/EffectPool.java file, and then use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( EffectPool.get( EffectPool.HALF_ASTRAL ) );&lt;br /&gt;
&lt;br /&gt;
AdventureResult astral = EffectPool.get( EffectPool.HALF_ASTRAL );&lt;br /&gt;
KoLConstants.activeEffects.contains( astral );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would have the advantage of only needing a single change should Jick ever decide to change the name of an effect.&lt;br /&gt;
&lt;br /&gt;
==Iteracting with the Player==&lt;br /&gt;
===A Yes/No dialogue box===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
if ( !InputFieldUtilities.confirm( &amp;quot;Are you sure you want to drink without ode?&amp;quot; ) )&lt;br /&gt;
{&lt;br /&gt;
	return false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Is the Script being run unattended?===&lt;br /&gt;
If Mafia is being run from the command line, or similar, a user may not be able to see, let alone answer, dialogue boxes. In this case:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
StaticEntity.isHeadless()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
returns &#039;&#039;true&#039;&#039; if the user can not respond to dialogue boxes.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3320</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3320"/>
		<updated>2010-02-01T17:18:24Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
InventoryManager.hasItem( final int itemId )	&lt;br /&gt;
InventoryManager.hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&lt;br /&gt;
InventoryManager.hasItem( 1650, true );&lt;br /&gt;
InventoryManager.hasItem( ItemPool.MILK_OF_MAGNESIUM, true );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true.&lt;br /&gt;
&lt;br /&gt;
===The Item Pool===&lt;br /&gt;
The Item Pool, at &#039;&#039;&#039;/objectpool/itempool/ItemPool.java&#039;&#039;&#039; is primarily a list of items, mapped to their item number. Its purpose is to make code more readable. ItemPool.UNDERWORLD_ACORN is much more obvious than &amp;quot;4274&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;br /&gt;
&lt;br /&gt;
==Iteracting with the Player==&lt;br /&gt;
===A Yes/No dialogue box===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
if ( !InputFieldUtilities.confirm( &amp;quot;Are you sure you want to drink without ode?&amp;quot; ) )&lt;br /&gt;
{&lt;br /&gt;
	return false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Is the Script being run unattended?===&lt;br /&gt;
If Mafia is being run from the command line, or similar, a user may not be able to see, let alone answer, dialogue boxes. In this case:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
StaticEntity.isHeadless()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
returns &#039;&#039;true&#039;&#039; if the user can not respond to dialogue boxes.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3319</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3319"/>
		<updated>2010-02-01T17:06:09Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* Items */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
InventoryManager.hasItem( final int itemId )	&lt;br /&gt;
InventoryManager.hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&lt;br /&gt;
InventoryManager.hasItem( 1650, true );&lt;br /&gt;
InventoryManager.hasItem( ItemPool.MILK_OF_MAGNESIUM, true );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true.&lt;br /&gt;
&lt;br /&gt;
===The Item Pool===&lt;br /&gt;
The Item Pool, at &#039;&#039;&#039;/objectpool/itempool/ItemPool.java&#039;&#039;&#039; is primarily a list of items, mapped to their item number. Its purpose is to make code more readable. ItemPool.UNDERWORLD_ACORN is much more obvious than &amp;quot;4274&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3318</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3318"/>
		<updated>2010-02-01T15:41:23Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* Check if we have a certain Item */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
InventoryManager.hasItem( final int itemId )	&lt;br /&gt;
InventoryManager.hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&lt;br /&gt;
InventoryManager.hasItem( 1650, true );&lt;br /&gt;
InventoryManager.hasItem( ItemPool.MILK_OF_MAGNESIUM, true );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true.&lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3317</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3317"/>
		<updated>2010-02-01T15:04:03Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* Check if we have a certain Item */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
InventoryManager.hasItem( final int itemId )	&lt;br /&gt;
InventoryManager.hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item )&lt;br /&gt;
InventoryManager.hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true.&lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3316</id>
		<title>Mafia&#039;s Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Mafia%27s_Code&amp;diff=3316"/>
		<updated>2010-01-31T09:23:17Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: Created page with &amp;#039;==Character== ===Under Hardcore or Ronin=== &amp;lt;p&amp;gt;&amp;lt;pre&amp;gt; KoLCharacter.canInteract(); &amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt; This function returns true if the character is out of Hardcore or Ronin, false otherwi…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Character==&lt;br /&gt;
===Under Hardcore or Ronin===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLCharacter.canInteract();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
This function returns true if the character is out of Hardcore or Ronin, false otherwise. It is essentially used to check mall access. &lt;br /&gt;
&lt;br /&gt;
==Items==&lt;br /&gt;
===Check if we have a certain Item===&lt;br /&gt;
We can either use:&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
public static final boolean hasItem( final int itemId )	&lt;br /&gt;
public static final boolean hasItem( final int itemId, boolean shouldCreate )&lt;br /&gt;
public static final boolean hasItem( final AdventureResult item )&lt;br /&gt;
public static final boolean hasItem( final AdventureResult item, final boolean shouldCreate )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Essentially the top three overloaded functions call the bottom function, telling it NOT to create the item. &lt;br /&gt;
&lt;br /&gt;
Setting &amp;quot;shouldCreate&amp;quot; to true will NOT create the item, instead it will find out if you COULD create the item. &lt;br /&gt;
&lt;br /&gt;
hasItem() will return true if you have the item, or could create it and specify shouldCreate to be true. &lt;br /&gt;
&lt;br /&gt;
==Effects==&lt;br /&gt;
===See if we are under the effects of Ode or Got Milk===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.ODE );&lt;br /&gt;
KoLConstants.activeEffects.contains( ItemDatabase.MILK );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these are boolean variables.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=String_Handling_Routines&amp;diff=1532</id>
		<title>String Handling Routines</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=String_Handling_Routines&amp;diff=1532"/>
		<updated>2009-11-21T08:52:09Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Part  8 - String Handling Routines ==&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Under Construction&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;void print( string helloworld )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Prints the given string to the graphical CLI window and to the status line of the main Adventuring window.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string [[visit_url alpha|visit_url( string url )]]&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Accesses the specified URL, manages any applicable redirects (including if the page offered a choice adventure), and returns the HTML of the final response page.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string location_to_url( location place )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Returns the URL that would need to be accessed to visit the specified location.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean contains_text( string source, string query )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Reveals if the query string is a substring of the source string.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int extract_meat( string text )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Returns the amount of meat contained in a string passed to it in integer format. For use in k-mail parsing. *Not for use on pending trades.*&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int [item] extract_items( string text )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
takes the text you have provided and parses it for any items that KoLmafia would have found normally.  This means you have access to the built-in pluralization handler as well as the ability to NOT have to lookup description IDs or whatever other loops you had to use to access that information. For use in k-mail parsing. *Not for use on pending trades.*&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int length( string text )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Returns the length of the given string.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int index_of( string source, string search )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Returns the first index of a given substring in a string.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;int index_of( string source, string search, int start )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Returns the next index of a given substring in a string starting from the given position.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;int last_index_of( string source, string search )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Returns the last index of a given substring in a string.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string substring( string source, int startfrom )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Returns the substring of the given string starting from the given character position in the string, and ending at the last character.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;string substring( string source, int start, int end )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Returns the substring of the given string starting from the character position indicated by start in the string, and ending at the character position indicated by end.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string replace_string( string source, string search, string replace )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
searches the source string for the search string and replaces all instances with the replace string&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string url_encode( string text )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;string url_decode( string text )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Converts a string text into a formatted string for using with raw URLs or from a formatted string back into “normal” text.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string [int] split_string( string source )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Returns a map of strings which is the passed string split into individual lines. Originally implemented for use when parsing session logs, but may see more uses in the future.&lt;br /&gt;
http://kolmafia.us/showthread.php?t=573 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;string [int] split_string( string source, string regex )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;string [int,int] group_string( string source, string regex )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
see this post located on the script repository for more information:  http://kolmafia.us/showthread.php?t=318 &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;string [int] session_logs( string player, int day_count )&amp;lt;/strong&amp;gt;&lt;br /&gt;
Gives access to the session logs saved by kolmafia. More details will be added when this function&#039;s own page is written. For now, more extensive details can be found here: http://kolmafia.us/showthread.php?t=573&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;buffer append( buffer source, string text )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Returns the source buffer with the string added on at the end.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;buffer append_tail( matcher regex, buffer source )&amp;lt;/strong&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
This function appends the text returned by a matcher to the end of the buffer text.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Quests&amp;diff=2869</id>
		<title>Quests</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Quests&amp;diff=2869"/>
		<updated>2009-09-10T08:57:08Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* Pirates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For information about how Mafia will automate various quests for you (past the normal adventuring automation and choosing of choice adventures), see here:&lt;br /&gt;
&lt;br /&gt;
==Council Quests==&lt;br /&gt;
===Level 1===&lt;br /&gt;
There are no quests here. &lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
No special automation. &lt;br /&gt;
&lt;br /&gt;
===Level 3===&lt;br /&gt;
The &amp;quot;tavern&amp;quot; CLI command will automatically adventure at the tavern (randomizing the squares at which it adventures) until it finds the faucet, at which point it will stop without turning it off.&lt;br /&gt;
&lt;br /&gt;
===Level 4===&lt;br /&gt;
No special automation, but Mafia will remind you about setting the MCD for particular boss drops when fighting the boss bat.  &lt;br /&gt;
&lt;br /&gt;
===Level 5===&lt;br /&gt;
Mafia will automatically use the perfume for you when you adventure in the Goblin King&#039;s Lair without the effect active. It will also equip the Harem Outfit for you and remind you about setting the MCD for the boss fight. &lt;br /&gt;
&lt;br /&gt;
===Level 6===&lt;br /&gt;
No special automation.&lt;br /&gt;
&lt;br /&gt;
===Level 7===&lt;br /&gt;
No special automation.&lt;br /&gt;
&lt;br /&gt;
===Level 8===&lt;br /&gt;
No special automation, though mafia will highlight squares in the Itznotyerzitz Mine that are sparkling with large &amp;quot;DIG&amp;quot; signs. &lt;br /&gt;
&lt;br /&gt;
===Level 9===&lt;br /&gt;
When adventuring in the Orc Chasm, if the condition &amp;quot;64735 scroll&amp;quot; is set, then mafia will automatically try to create one if fighting an adding machine. If not, there is an option to have mafia automatically create 31337 scrolls if you have the required components.&lt;br /&gt;
&lt;br /&gt;
===Level 10===&lt;br /&gt;
No special automation.&lt;br /&gt;
&lt;br /&gt;
===Level 11===&lt;br /&gt;
====Black Forest====&lt;br /&gt;
Mafia will automatically create the blackbird, equip it, use the black market map and the re-equip the familiar you had before when you use the black market map (either through the CLI, relay browser or Mafia interface). &lt;br /&gt;
====Spookyraven====&lt;br /&gt;
Mafia automatically works out which dusty bottles of wine you need and will out from what corners they are dropped. It will also number the bottles in the drop-down indicating in which order you need to pour them in. Mafia also has an option to automatically adventure in the basement, alternating between corners until it works out where the bottles of wine are.&lt;br /&gt;
====Palindrome====&lt;br /&gt;
Mafia automatically arranges the items on the shelves for you, and will do this through the relay browser or auto-adventuring. &lt;br /&gt;
====Hidden City====&lt;br /&gt;
The Stone Spheres are tracked when used in combat, and automatically selected in the drop-down for the altars.&lt;br /&gt;
&lt;br /&gt;
===Level 12===&lt;br /&gt;
Mafia will mark the side-quests as done with the letters &amp;quot;F&amp;quot; and &amp;quot;H&amp;quot; for Frat and Hippy respectively, and also tracks the number of enemies killed on each side, indicating the amount killed and remaining after each battle, and also alerting you to when the other side-quests are unlocked.&lt;br /&gt;
&lt;br /&gt;
===Level 13===&lt;br /&gt;
Mafia will automate almost everything about this quest. &lt;br /&gt;
&lt;br /&gt;
==Essential Non-Council Quests==&lt;br /&gt;
===Pirates===&lt;br /&gt;
Mafia will track how many pirate insults you know, and will automatically select the right choice in the Beer Pong adventure. Also, if you are adventuring in the F&#039;c&#039;le with all three of the items, mafia will automatically use them for you, to get the priate fledges.&lt;br /&gt;
&lt;br /&gt;
Mafia will not autocomplete the blueprints for you, but you can use the [[alias]] command to almost do this. By copy+pasting the following code in the CLI:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;alias dentures =&amp;gt; checkpoint ; equip frilly skirt; ash visit_url(&amp;quot;inv_use.php?which=3&amp;amp;whichitem=2951&amp;amp;pwd&amp;quot; ); visit_url(&amp;quot;choice.php?whichchoice=188&amp;amp;option=3&amp;amp;cho iceform3=Catburgle&amp;amp;pwd&amp;quot;); cli_execute(&amp;quot;outfit checkpoint&amp;quot;);&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You will then be able to type &#039;&#039;&#039;dentures&#039;&#039;&#039; into the CLI whenever you want the dentures. It will equip the frilly skirt (useful especially if you are a moxie sign), choose the right choice in the blueprints item, and re-equips your pants again.&lt;br /&gt;
&lt;br /&gt;
==Non-Essential Quests==&lt;br /&gt;
&lt;br /&gt;
==Other Miscellaneous Automation or Help==&lt;br /&gt;
===Basement===&lt;br /&gt;
Mafia will automate this substantially. For more information, see the [[Basement]] page.&lt;br /&gt;
&lt;br /&gt;
===Barrel Full of Barrels===&lt;br /&gt;
&lt;br /&gt;
===Unlocking the Spookyraven Ballroom===&lt;br /&gt;
Mafia handles the two choice adventures in the library in a non-standard fashion. If you&#039;ve selected &amp;quot;reveal key in conservatory&amp;quot; in the &amp;quot;Fall of Spookyraven&amp;quot; choiceadv, but have already done that, it will unlock the stairs instead. If you try to unlock the stairs, but that&#039;s already done, it will choose the &amp;quot;skip adventure&amp;quot; option.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=572</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=572"/>
		<updated>2009-08-30T07:49:35Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:mafia.jpg]]&amp;lt;center&amp;gt;&lt;br /&gt;
Welcome to the KoLmafia Wiki.&lt;br /&gt;
&lt;br /&gt;
Please pardon our dust while we remodel.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Progress level: [[Special:Statistics|{{NUMBEROFARTICLES}}]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:80%;margin-top: .7em;background-color:#F4DF3B;border:2px solid #8663A8&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td class=&amp;quot;box_tgen&amp;quot; style=&amp;quot;text-align:cen&lt;br /&gt;
1000&lt;br /&gt;
ter;color:#000;font-size:90%;border:none;margin: 0;padding:.1em;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Quick Links for ASH Scripters:&#039;&#039;&#039; &amp;lt;br&amp;gt; [[Your Character]] || [[Item Management]] || [[Equipment]] || [[Skills and Effects]] || [[Adventuring]] || [[In-combat functions for consult scripting]] || [[Miscellaneous]]  || [[String Handling Routines]] || [[Datatype Constants]] || [[Datatype Conversions]] || [[KoLmafia Properties]] || [[Code Samples]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: 50%; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #b0ddb0; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;Writing Scripts&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #c0ffc0; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[ASH|ASH Scripts]]&lt;br /&gt;
* [[CLI]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #b0ddb0; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;How does Mafia Help?&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #c0ffc0; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Automation]]&lt;br /&gt;
* [[Quests|Helping with Quests]]&lt;br /&gt;
* [[Basement|Basement Diving]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: 50%; float: right;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #aeaeee; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;Installation&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #bfbfff; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Windows]]&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[Mac]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #aeaeee; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;New User Help&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #bfbfff; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* Adventuring&lt;br /&gt;
* [[The Relay Browser]]&lt;br /&gt;
* Why use Mafia?&lt;br /&gt;
* [[Helpful Links]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #aeaeee; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;Contributing to the Mafia Project&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #bfbfff; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Compiling from Source]]&lt;br /&gt;
* [[Making a Patch]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Making_a_Patch&amp;diff=2904</id>
		<title>Making a Patch</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Making_a_Patch&amp;diff=2904"/>
		<updated>2009-08-30T07:45:55Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: Created page with &amp;#039;Once you have the source code for Mafia successfully downloaded as in the Compiling from Source page, you will then need to make a patch, as the dev&amp;#039;s don&amp;#039;t let just anyone u…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Once you have the source code for Mafia successfully downloaded as in the [[Compiling from Source]] page, you will then need to make a patch, as the dev&#039;s don&#039;t let just anyone update the program. Fortunately, this is very simple, and once you have the patch, post it on the KolMafia Forums for acceptance. &lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
# Right-click on the kolmafia folder on your desktop (this assumes you are using Tortoise SVN), click on &amp;quot;TortoiseSVN&amp;quot; and then &amp;quot;Create Patch...&amp;quot;.&lt;br /&gt;
# A new window then appears. Tick all the files you want to include in the patch (this is probably all of them), and click OK. &lt;br /&gt;
# Tortoise SVN then merges all your changes into a single .patch file, which you can then post on the forums.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
==Mac==&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Compiling_from_Source&amp;diff=2891</id>
		<title>Compiling from Source</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Compiling_from_Source&amp;diff=2891"/>
		<updated>2009-08-30T07:37:07Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: Created page with &amp;#039;To contribute to the Mafia project, you&amp;#039;ll need to be able to install the Java Development Kit, connect to the SVN and be comfortable writing Java Code. Instructions for the firs…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To contribute to the Mafia project, you&#039;ll need to be able to install the Java Development Kit, connect to the SVN and be comfortable writing Java Code. Instructions for the first two are included below:&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
# Download and install the Java Development Kit, available here: http://java.sun.com/javase/downloads/index.jsp&lt;br /&gt;
# Download and install Tortoise SVN (or of course, another SVN program), available here: http://tortoisesvn.tigris.org/&lt;br /&gt;
# Download and install WinAnt, available here: http://code.google.com/p/winant/&lt;br /&gt;
# Connect to the SVN server and download the source code for the Mafia Project. Using Tortoise SV&amp;lt;, you have to right-click on your desktop, select &amp;quot;SVN Checkout&amp;quot;, and put the URL of the repository as &amp;quot;https://kolmafia.svn.sourceforge.net/svnroot/kolmafia&amp;quot;. Leave all other settings as they are, and click OK.&lt;br /&gt;
# Copy C:/Program Files/WinAnt/bin/ant.bat to your Desktop/kolmafia/ folder. If you have set up WinAnt correctly (and it&#039;s hard not to - there aren&#039;t many options) then double clicking on this file should compile the program.&lt;br /&gt;
# Compiling creates a &amp;quot;build&amp;quot; and &amp;quot;dist&amp;quot; folder. The end program is in dist/Kolmafia.jar.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
==Mac==&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=570</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=570"/>
		<updated>2009-08-29T22:00:13Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:mafia.jpg]]&amp;lt;center&amp;gt;&lt;br /&gt;
Welcome to the KoLmafia Wiki.&lt;br /&gt;
&lt;br /&gt;
Please pardon our dust while we remodel.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Progress level: [[Special:Statistics|{{NUMBEROFARTICLES}}]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:80%;margin-top: .7em;background-color:#F4DF3B;border:2px solid #8663A8&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td class=&amp;quot;box_tgen&amp;quot; style=&amp;quot;text-align:cen&lt;br /&gt;
1000&lt;br /&gt;
ter;color:#000;font-size:90%;border:none;margin: 0;padding:.1em;&amp;quot;&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Quick Links:&#039;&#039;&#039; &amp;lt;br&amp;gt; [[Your Character]] || [[Item Management]] || [[Equipment]] || [[Skills and Effects]] || [[Adventuring]] || [[In-combat functions for consult scripting]] || [[Miscellaneous]]  || [[String Handling Routines]] || [[Datatype Constants]] || [[Datatype Conversions]] || [[KoLmafia Properties]] || [[Code Samples]]&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: 50%; float: left;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #b0ddb0; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;Writing Scripts&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #c0ffc0; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* ASH Scripts&lt;br /&gt;
* CLI&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #b0ddb0; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;How does Mafia Help?&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #c0ffc0; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* Automation&lt;br /&gt;
* Basement Diving&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: 50%; float: right;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #aeaeee; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;Installation&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #bfbfff; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* Windows&lt;br /&gt;
* Linux&lt;br /&gt;
* Mac&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #aeaeee; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;New User Help&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #bfbfff; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* Adventuring&lt;br /&gt;
* The Relay Browser&lt;br /&gt;
* Why use Mafia?&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 90%; border: 2px solid black; margin: 5px;&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #aeaeee; padding: 4px; border-bottom: 1px solid black&amp;quot;&amp;gt;Contributing to the Mafia Project&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;background-color: #bfbfff; padding: 4px;&amp;quot;&amp;gt;&lt;br /&gt;
* Compiling from Source&lt;br /&gt;
* Making a Patch&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Quests&amp;diff=2867</id>
		<title>Quests</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Quests&amp;diff=2867"/>
		<updated>2009-08-29T10:20:44Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For information about how Mafia will automate various quests for you (past the normal adventuring automation and choosing of choice adventures), see here:&lt;br /&gt;
&lt;br /&gt;
==Council Quests==&lt;br /&gt;
===Level 1===&lt;br /&gt;
There are no quests here. &lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
No special automation. &lt;br /&gt;
&lt;br /&gt;
===Level 3===&lt;br /&gt;
The &amp;quot;tavern&amp;quot; CLI command will automatically adventure at the tavern (randomizing the squares at which it adventures) until it finds the faucet, at which point it will stop without turning it off.&lt;br /&gt;
&lt;br /&gt;
===Level 4===&lt;br /&gt;
No special automation, but Mafia will remind you about setting the MCD for particular boss drops when fighting the boss bat.  &lt;br /&gt;
&lt;br /&gt;
===Level 5===&lt;br /&gt;
Mafia will automatically use the perfume for you when you adventure in the Goblin King&#039;s Lair without the effect active. It will also equip the Harem Outfit for you and remind you about setting the MCD for the boss fight. &lt;br /&gt;
&lt;br /&gt;
===Level 6===&lt;br /&gt;
No special automation.&lt;br /&gt;
&lt;br /&gt;
===Level 7===&lt;br /&gt;
No special automation.&lt;br /&gt;
&lt;br /&gt;
===Level 8===&lt;br /&gt;
No special automation, though mafia will highlight squares in the Itznotyerzitz Mine that are sparkling with large &amp;quot;DIG&amp;quot; signs. &lt;br /&gt;
&lt;br /&gt;
===Level 9===&lt;br /&gt;
When adventuring in the Orc Chasm, if the condition &amp;quot;64735 scroll&amp;quot; is set, then mafia will automatically try to create one if fighting an adding machine. If not, there is an option to have mafia automatically create 31337 scrolls if you have the required components.&lt;br /&gt;
&lt;br /&gt;
===Level 10===&lt;br /&gt;
No special automation.&lt;br /&gt;
&lt;br /&gt;
===Level 11===&lt;br /&gt;
====Black Forest====&lt;br /&gt;
Mafia will automatically create the blackbird, equip it, use the black market map and the re-equip the familiar you had before when you use the black market map (either through the CLI, relay browser or Mafia interface). &lt;br /&gt;
====Spookyraven====&lt;br /&gt;
Mafia automatically works out which dusty bottles of wine you need and will out from what corners they are dropped. It will also number the bottles in the drop-down indicating in which order you need to pour them in. Mafia also has an option to automatically adventure in the basement, alternating between corners until it works out where the bottles of wine are.&lt;br /&gt;
====Palindrome====&lt;br /&gt;
Mafia automatically arranges the items on the shelves for you, and will do this through the relay browser or auto-adventuring. &lt;br /&gt;
====Hidden City====&lt;br /&gt;
The Stone Spheres are tracked when used in combat, and automatically selected in the drop-down for the alters. &lt;br /&gt;
&lt;br /&gt;
===Level 12===&lt;br /&gt;
Mafia will mark the side-quests as done with the letters &amp;quot;F&amp;quot; and &amp;quot;H&amp;quot; for Frat and Hippy respectively, and also tracks the number of enemies killed on each side, indicating the amount killed and remaining after each battle, and also alerting you to when the other side-quests are unlocked.&lt;br /&gt;
&lt;br /&gt;
===Level 13===&lt;br /&gt;
Mafia will automate almost everything about this quest. &lt;br /&gt;
&lt;br /&gt;
==Essential Non-Council Quests==&lt;br /&gt;
===Pirates===&lt;br /&gt;
Mafia will track how many pirate insults you know, and will automatically select the right choice in the Beer Pong adventure. Also, if you are adventuring in the F&#039;c&#039;le with all three of the items, mafia will automatically use them for you, to get the priate fledges. &lt;br /&gt;
&lt;br /&gt;
==Non-Essential Quests==&lt;br /&gt;
&lt;br /&gt;
==Other Miscellaneous Automation or Help==&lt;br /&gt;
===Basement===&lt;br /&gt;
Mafia will automate this substantially. For more information, see the [[Basement]] page.&lt;br /&gt;
&lt;br /&gt;
===Barrel Full of Barrels===&lt;br /&gt;
&lt;br /&gt;
===Unlocking the Spookyraven Ballroom===&lt;br /&gt;
Mafia handles the two choice adventures in the library in a non-standard fashion. If you&#039;ve selected &amp;quot;reveal key in conservatory&amp;quot; in the &amp;quot;Fall of Spookyraven&amp;quot; choiceadv, but have already done that, it will unlock the stairs instead. If you try to unlock the stairs, but that&#039;s already done, it will choose the &amp;quot;skip adventure&amp;quot; option.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Quests&amp;diff=2866</id>
		<title>Quests</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Quests&amp;diff=2866"/>
		<updated>2009-08-29T10:09:33Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: Created Page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For information about how Mafia will automate various quests for you (past the normal adventuring automation and choosing of choice adventures), see here:&lt;br /&gt;
&lt;br /&gt;
==Council Quests==&lt;br /&gt;
===Level 1===&lt;br /&gt;
There are no quests here. &lt;br /&gt;
&lt;br /&gt;
===Level 2===&lt;br /&gt;
No special automation. &lt;br /&gt;
&lt;br /&gt;
===Level 3===&lt;br /&gt;
The &amp;quot;tavern&amp;quot; CLI command will automatically adventure at the tavern (randomizing the squares at which it adventures) until it finds the faucet, at which point it will stop without turning it off.&lt;br /&gt;
&lt;br /&gt;
===Level 4===&lt;br /&gt;
No special automation, but Mafia will remind you about setting the MCD for particular boss drops when fighting the boss bat.  &lt;br /&gt;
&lt;br /&gt;
===Level 5===&lt;br /&gt;
Mafia will automatically use the perfume for you when you adventure in the Goblin King&#039;s Lair without the effect active. It will also equip the Harem Outfit for you and remind you about setting the MCD for the boss fight. &lt;br /&gt;
&lt;br /&gt;
===Level 6===&lt;br /&gt;
No special automation.&lt;br /&gt;
&lt;br /&gt;
===Level 7===&lt;br /&gt;
No special automation. &lt;br /&gt;
&lt;br /&gt;
===Level 8===&lt;br /&gt;
No special automation, though mafia will highlight squares in the Itznotyerzitz Mine that are sparkling with large &amp;quot;DIG&amp;quot; signs. &lt;br /&gt;
&lt;br /&gt;
===Level 9===&lt;br /&gt;
When adventuring in the Orc Chasm, if the condition &amp;quot;64735 scroll&amp;quot; is set, then mafia will automatically try to create one if fighting an adding machine. If not, there is an option to have mafia automatically create 31337 scrolls if you have the required components.&lt;br /&gt;
&lt;br /&gt;
===Level 10===&lt;br /&gt;
No special automation.&lt;br /&gt;
&lt;br /&gt;
===Level 11===&lt;br /&gt;
====Black Forest====&lt;br /&gt;
Mafia will automatically create the blackbird, equip it, use the black market map and the re-equip the familiar you had before when you use the black market map (either through the CLI, relay browser or Mafia interface). &lt;br /&gt;
====Spookyraven====&lt;br /&gt;
Mafia automatically works out which dusty bottles of wine you need and will out from what corners they are dropped. It will also number the bottles in the drop-down indicating in which order you need to pour them in. Mafia also has an option to automatically adventure in the basement, alternating between corners until it works out where the bottles of wine are.&lt;br /&gt;
====Palindrome====&lt;br /&gt;
Mafia automatically arranges the items on the shelves for you, and will do this through the relay browser or auto-adventuring. &lt;br /&gt;
====Hidden City====&lt;br /&gt;
The Stone Spheres are tracked when used in combat, and automatically selected in the drop-down for the alters. &lt;br /&gt;
&lt;br /&gt;
===Level 12===&lt;br /&gt;
Mafia will mark the side-quests as done with the letters &amp;quot;F&amp;quot; and &amp;quot;H&amp;quot; for Frat and Hippy respectively, and also tracks the number of enemies killed on each side, indicating the amount killed and remaining after each battle, and also alerting you to when the other side-quests are unlocked.&lt;br /&gt;
&lt;br /&gt;
===Level 13===&lt;br /&gt;
Mafia will automate almost everything about this quest. &lt;br /&gt;
&lt;br /&gt;
==Essential Non-Council Quests==&lt;br /&gt;
===Pirates===&lt;br /&gt;
Mafia will track how many pirate insults you know, and will automatically select the right choice in the Beer Pong adventure. Also, if you are adventuring in the F&#039;c&#039;le with all three of the items, mafia will automatically use them for you, to get the priate fledges. &lt;br /&gt;
&lt;br /&gt;
==Non-Essential Quests==&lt;br /&gt;
&lt;br /&gt;
==Other Miscellaneous Automation or Help==&lt;br /&gt;
===Basement===&lt;br /&gt;
&lt;br /&gt;
===Barrel Full of Barrels===&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Cli&amp;diff=2861</id>
		<title>Cli</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Cli&amp;diff=2861"/>
		<updated>2009-08-29T09:51:48Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: /* Cli Commands (version 13.5) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The CLI (Command Line Interface) is a way for users to quickly do things in KoL without having to use either the relay browser or Mafia&#039;s menus. For example, it is quicker to type &amp;quot;cast ode&amp;quot; into the CLI than to click the &amp;quot;Skill Casting&amp;quot; tab, select Ode to Booze from the drop-down and then click cast.  &lt;br /&gt;
&lt;br /&gt;
==Cli Commands (version 13.5)==&lt;br /&gt;
! - list the Dungeons of Doom potions you&#039;ve identified.&lt;br /&gt;
&lt;br /&gt;
*.php* - visit URL without showing results.&lt;br /&gt;
&lt;br /&gt;
*brewery*[?] [ daily special | item ] - show daily special [or consume it or other restaurant item].&lt;br /&gt;
&lt;br /&gt;
*kitchen*[?] item - consumes item at Hell&#039;s Kitchen, if available.&lt;br /&gt;
&lt;br /&gt;
*mirror* [filename] - stop [or start] logging to an additional file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;inline-ash-script&amp;gt; - embed an ASH script in a CLI script.&lt;br /&gt;
&lt;br /&gt;
aa skill - set default attack method.&lt;br /&gt;
&lt;br /&gt;
abort [message] - stop current script or automated task.&lt;br /&gt;
&lt;br /&gt;
acquire item - ensure that you have item, creating or buying it if needed.&lt;br /&gt;
&lt;br /&gt;
adv*[?] last | [count] location - spend your turns.&lt;br /&gt;
&lt;br /&gt;
alias [ word =&amp;gt; expansion ] - list or create CLI abbreviations.&lt;br /&gt;
&lt;br /&gt;
ash statement - test a line of ASH code without having to edit a script.&lt;br /&gt;
&lt;br /&gt;
ashref [filter] - summarize ASH built-in functions [matching filter].&lt;br /&gt;
&lt;br /&gt;
attack [ target [, target]... ] - PvP for dignity or flowers&lt;br /&gt;
&lt;br /&gt;
autoattack skill - set default attack method.&lt;br /&gt;
&lt;br /&gt;
automall - dump all profitable, non-memento items into the Mall.&lt;br /&gt;
&lt;br /&gt;
autosell item [, item]... - autosell items.&lt;br /&gt;
&lt;br /&gt;
backtrace text | off - dump stack when a gCLI message or page URL matches text (case-sensitive).&lt;br /&gt;
&lt;br /&gt;
bake [ item... ] - list creatables, or create specified items.&lt;br /&gt;
&lt;br /&gt;
bang - list the Dungeons of Doom potions you&#039;ve identified.&lt;br /&gt;
&lt;br /&gt;
basement - check Fernswarthy&#039;s Basement status.&lt;br /&gt;
&lt;br /&gt;
breakfast - perform start-of-day activities.&lt;br /&gt;
&lt;br /&gt;
budget [number] - show [or set] the number of budgeted Hagnk&#039;s pulls.&lt;br /&gt;
&lt;br /&gt;
buff* =&amp;gt; skills buff&lt;br /&gt;
&lt;br /&gt;
buffbot number - run buffbot for number iterations.&lt;br /&gt;
&lt;br /&gt;
burn extra | * | num | -num - use excess/all/specified/all but specified MP for buff extension and summons.&lt;br /&gt;
&lt;br /&gt;
buy item [@ limit] [, another]... - buy from NPC store or the Mall.&lt;br /&gt;
&lt;br /&gt;
call [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
&lt;br /&gt;
camp* rest | etc. [numTimes] - perform campground actions.&lt;br /&gt;
&lt;br /&gt;
cast[?] [ [count] skill [on player] ] - list spells, or use one.&lt;br /&gt;
&lt;br /&gt;
ccs [script] - show [or select] Custom Combat Script in use.&lt;br /&gt;
&lt;br /&gt;
cecho color text - show text using color (specified by name or #RRGGBB).&lt;br /&gt;
&lt;br /&gt;
chamber - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
chat - switch to tab or open window&lt;br /&gt;
&lt;br /&gt;
cheapest[?] [+]item [,[-]item]... [; cmds] - compare prices, do cmds with &amp;quot;it&amp;quot; replaced with best.&lt;br /&gt;
&lt;br /&gt;
check hp | health | mp | mana | both - attempt to regain some HP or MP.&lt;br /&gt;
&lt;br /&gt;
checkpoint - remembers current equipment, use &amp;quot;outfit checkpoint&amp;quot; to restore.&lt;br /&gt;
&lt;br /&gt;
chew[?] [either] item [, item]... - use/consume items&lt;br /&gt;
&lt;br /&gt;
clan [ snapshot | stashlog ] - clan management.&lt;br /&gt;
&lt;br /&gt;
cleanup - use, pulverize, or autosell your junk items.&lt;br /&gt;
&lt;br /&gt;
clear - clear CLI window.&lt;br /&gt;
&lt;br /&gt;
closet list filter | put item... | take item... - list or manipulate your closet.&lt;br /&gt;
&lt;br /&gt;
cls - clear CLI window.&lt;br /&gt;
&lt;br /&gt;
colorecho color text - show text using color (specified by name or #RRGGBB).&lt;br /&gt;
&lt;br /&gt;
combat* =&amp;gt; skills combat&lt;br /&gt;
&lt;br /&gt;
concert m[oon&#039;d] | d[ilated pupils] | o[ptimist primal] | e[lvish] | wi[nklered] | wh[ite-boy angst]&lt;br /&gt;
&lt;br /&gt;
condition* clear | check | add condition | set condition - modify your adventuring goals.&lt;br /&gt;
&lt;br /&gt;
condref - list conditions usable with if/while commands.&lt;br /&gt;
&lt;br /&gt;
council - visit the Council to advance quest progress.&lt;br /&gt;
&lt;br /&gt;
counters [ clear | add number [title img] ] - show, clear, or add to current turn counters.&lt;br /&gt;
&lt;br /&gt;
create [ item... ] - list creatables, or create specified items.&lt;br /&gt;
&lt;br /&gt;
csend item [, item]... to recipient [ || message ] - send kmail&lt;br /&gt;
&lt;br /&gt;
debug [on] | off - start or stop logging of debugging data.&lt;br /&gt;
&lt;br /&gt;
demons - list the demon names you know.&lt;br /&gt;
&lt;br /&gt;
disable all | command [, command]... - allow/deny CLI commands.&lt;br /&gt;
&lt;br /&gt;
display [filter] | put item... | take item... - list or manipulate your display case.&lt;br /&gt;
&lt;br /&gt;
donate boris | mus | jarl | mys | pete | mox amount - donate in Hall of Legends.&lt;br /&gt;
&lt;br /&gt;
drink[?] [either] item [, item]... - use/consume items&lt;br /&gt;
&lt;br /&gt;
dualwield =&amp;gt; equip off-hand&lt;br /&gt;
&lt;br /&gt;
dusty - list the dusty bottles of wine you&#039;ve identified.&lt;br /&gt;
&lt;br /&gt;
eat[?] [either] item [, item]... - use/consume items&lt;br /&gt;
&lt;br /&gt;
echo timestamp | text - include timestamp or text in the session log.&lt;br /&gt;
&lt;br /&gt;
effects [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
else ; commands - do commands if preceding if/while/try didn&#039;t execute.&lt;br /&gt;
&lt;br /&gt;
elseif condition; commands - do if condition is true but preceding condition was false.&lt;br /&gt;
&lt;br /&gt;
enable all | command [, command]... - allow/deny CLI commands.&lt;br /&gt;
&lt;br /&gt;
encounters [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
entity - give details of your current pastamancer combat entity.&lt;br /&gt;
&lt;br /&gt;
entryway [clover] - automatically complete quest [using a clover].&lt;br /&gt;
&lt;br /&gt;
equip [list filter] | [slot] item - show equipment, or equip item [in slot].&lt;br /&gt;
&lt;br /&gt;
events [clear] - clear or show recent events.&lt;br /&gt;
&lt;br /&gt;
exec* [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
&lt;br /&gt;
exit - logout and exit KoLmafia.&lt;br /&gt;
&lt;br /&gt;
expensive[?] [+]item [,[-]item]... [; cmds] - compare prices, do cmds with &amp;quot;it&amp;quot; replaced with best.&lt;br /&gt;
&lt;br /&gt;
factory report digits - Given a string of 7 dwarven digits, report on factory.&lt;br /&gt;
&lt;br /&gt;
familiar[?] [list filter] | lock | unlock | species | none - list or change familiar types&lt;br /&gt;
&lt;br /&gt;
field [ plant square type | pick square | harvest ] - view or use your mushroom plot&lt;br /&gt;
&lt;br /&gt;
find item - ensure that you have item, creating or buying it if needed.&lt;br /&gt;
&lt;br /&gt;
flowers - commit random acts of PvP.&lt;br /&gt;
&lt;br /&gt;
fold[?] item - produce item by using another form, repeated as needed.&lt;br /&gt;
&lt;br /&gt;
forum* - visit the official KoL forums.&lt;br /&gt;
&lt;br /&gt;
friars [blessing] food | familiar | booze - get daily blessing.&lt;br /&gt;
&lt;br /&gt;
galaktik(hp|mp) [amount] - restore some or all hp or mp&lt;br /&gt;
&lt;br /&gt;
gc - force Java garbage collection.&lt;br /&gt;
&lt;br /&gt;
gear - switch to tab or open window&lt;br /&gt;
&lt;br /&gt;
get preference [ = value ] - show/change preference settings&lt;br /&gt;
&lt;br /&gt;
ghost[?] [either] item [, item]... - use/consume items&lt;br /&gt;
&lt;br /&gt;
goal* clear | check | add condition | set condition - modify your adventuring goals.&lt;br /&gt;
&lt;br /&gt;
gong [buy | set] manual | bird | mole | roach [effect [stat [stat]]]&lt;br /&gt;
&lt;br /&gt;
gourd - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
grandpa query - Ask Grandpa about something.&lt;br /&gt;
&lt;br /&gt;
guardians - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
guild - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
hagnk outfit name | item [, item]... - pull items from Hagnk&#039;s storage.&lt;br /&gt;
&lt;br /&gt;
hedge* - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
help [filter] - list CLI commands [that match filter].&lt;br /&gt;
&lt;br /&gt;
hermit[?] [item] - get clover status, or trade for item.&lt;br /&gt;
&lt;br /&gt;
hiddencity square [temple|altar item] - set Hidden City square [and perform an action there].&lt;br /&gt;
&lt;br /&gt;
hobo[?] [either] item [, item]... - use/consume items&lt;br /&gt;
&lt;br /&gt;
hold =&amp;gt; equip off-hand&lt;br /&gt;
&lt;br /&gt;
holiday HolidayName - enable special processing for unpredicted holidays.&lt;br /&gt;
&lt;br /&gt;
hottub - soak in your clan&#039;s hot tub&lt;br /&gt;
&lt;br /&gt;
http:* - visit URL without showing results.&lt;br /&gt;
&lt;br /&gt;
if condition; commands - do commands once if condition is true (see condref).&lt;br /&gt;
&lt;br /&gt;
insults - list the pirate insult comebacks you know.&lt;br /&gt;
&lt;br /&gt;
inv* [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
item - switch to tab or open window&lt;br /&gt;
&lt;br /&gt;
junk - use, pulverize, or autosell your junk items.&lt;br /&gt;
&lt;br /&gt;
kmail item [, item]... to recipient [ || message ] - send kmail&lt;br /&gt;
&lt;br /&gt;
later commands - adds a button to do commands to the Daily Deeds list.&lt;br /&gt;
&lt;br /&gt;
leaflet [nomagic] | location | command - complete leaflet quest [without using magic words].&lt;br /&gt;
&lt;br /&gt;
load [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
&lt;br /&gt;
locations [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
log [status],[equipment],[effects],[etc.] - record data, &amp;quot;log snapshot&amp;quot; for all common data.&lt;br /&gt;
&lt;br /&gt;
logecho timestamp | text - include timestamp or text in the session log only.&lt;br /&gt;
&lt;br /&gt;
login username - logout then log back in as username.&lt;br /&gt;
&lt;br /&gt;
logout - logout and return to login window.&lt;br /&gt;
&lt;br /&gt;
logprint timestamp | text - include timestamp or text in the session log only.&lt;br /&gt;
&lt;br /&gt;
lookup item | effect - go to appropriate KoL Wiki page.&lt;br /&gt;
&lt;br /&gt;
mail - switch to tab or open window&lt;br /&gt;
&lt;br /&gt;
make [ item... ] - list creatables, or create specified items.&lt;br /&gt;
&lt;br /&gt;
mallbuy item [@ limit] [, another]... - buy from NPC store or the Mall.&lt;br /&gt;
&lt;br /&gt;
mallsell item [[@] price [[limit] num]] [, another]... - sell in Mall.&lt;br /&gt;
&lt;br /&gt;
maximize[?] [+|-|weight] keyword, ... - run the Modifier Maximizer.&lt;br /&gt;
&lt;br /&gt;
maze - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
mcd number - set mind control device (or equivalent) to new value.&lt;br /&gt;
&lt;br /&gt;
mind-control number - set mind control device (or equivalent) to new value.&lt;br /&gt;
&lt;br /&gt;
mix [ item... ] - list creatables, or create specified items.&lt;br /&gt;
&lt;br /&gt;
modifies filter - list all possible sources of modifiers matching filter.&lt;br /&gt;
&lt;br /&gt;
modref [object] - list all modifiers, show values for player [and object].&lt;br /&gt;
&lt;br /&gt;
modtrace filter - list everything that adds to modifiers matching filter.&lt;br /&gt;
&lt;br /&gt;
moleref - Path of the Mole spoilers.&lt;br /&gt;
&lt;br /&gt;
monsters location - show combat details for the specified area.&lt;br /&gt;
&lt;br /&gt;
mood* clear | autofill | execute | repeat [numTimes] | moodName [numTimes] - mood management.&lt;br /&gt;
&lt;br /&gt;
moon* [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
mpitems - counts MP restoratives in inventory.&lt;br /&gt;
&lt;br /&gt;
namespace [filter] - list namespace scripts and the functions they define.&lt;br /&gt;
&lt;br /&gt;
nemesis - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
nuns [mp] - visit the Nunnery for restoration [but only if MP is restored].&lt;br /&gt;
&lt;br /&gt;
objective* clear | check | add condition | set condition - modify your adventuring goals.&lt;br /&gt;
&lt;br /&gt;
olfact* ( none | monster name | [item] list | goals ) [abort] - tag next monster [that drops all items in list, or your goals].&lt;br /&gt;
&lt;br /&gt;
opt* - switch to tab or open window&lt;br /&gt;
&lt;br /&gt;
outfit [list filter] | save name | checkpoint | name - list, save, restore, or change outfits.&lt;br /&gt;
&lt;br /&gt;
overdrink[?] [either] item [, item]... - use/consume items&lt;br /&gt;
&lt;br /&gt;
pass* =&amp;gt; skills passive&lt;br /&gt;
&lt;br /&gt;
pause [seconds] - pause script execution (default 1 second).&lt;br /&gt;
&lt;br /&gt;
ply [ item... ] - list creatables, or create specified items.&lt;br /&gt;
&lt;br /&gt;
print timestamp | text - include timestamp or text in the session log.&lt;br /&gt;
&lt;br /&gt;
priphea - launch KoLmafia GUI.&lt;br /&gt;
&lt;br /&gt;
pull outfit name | item [, item]... - pull items from Hagnk&#039;s storage.&lt;br /&gt;
&lt;br /&gt;
pulverize item [, item]... - pulverize specified items&lt;br /&gt;
&lt;br /&gt;
putty ( none | monster name | [item] list | goals ) [abort] - tag next monster [that drops all items in list, or your goals].&lt;br /&gt;
&lt;br /&gt;
pvp [ target [, target]... ] - PvP for dignity or flowers&lt;br /&gt;
&lt;br /&gt;
pvplog* - summarize PvP results.&lt;br /&gt;
&lt;br /&gt;
quark[?] [itemList...] - gain MP by pasting unstable quark with best item from itemList (or your junk list).&lt;br /&gt;
&lt;br /&gt;
quit - logout and exit KoLmafia.&lt;br /&gt;
&lt;br /&gt;
radio - switch to tab or open window&lt;br /&gt;
&lt;br /&gt;
raffle ticketsToBuy [ inventory | storage ] - buy raffle tickets&lt;br /&gt;
&lt;br /&gt;
recover* hp | health | mp | mana | both - attempt to regain some HP or MP.&lt;br /&gt;
&lt;br /&gt;
refresh all | status | equip | inv | storage | familiar | stickers - resynchronize with KoL.&lt;br /&gt;
&lt;br /&gt;
relay - open the relay browser.&lt;br /&gt;
&lt;br /&gt;
remedy[?] effect [, effect]... - remove effects using appropriate means.&lt;br /&gt;
&lt;br /&gt;
remove slot | name - remove equipment in slot, or that matches name&lt;br /&gt;
&lt;br /&gt;
repeat [number] - repeat previous line [number times].&lt;br /&gt;
&lt;br /&gt;
reprice - price all max-priced items at or below current Mall minimum price.&lt;br /&gt;
&lt;br /&gt;
rest =&amp;gt; campground rest&lt;br /&gt;
&lt;br /&gt;
restaurant[?] [ daily special | item ] - show daily special [or consume it or other restaurant item].&lt;br /&gt;
&lt;br /&gt;
restore* hp | health | mp | mana | both - attempt to regain some HP or MP.&lt;br /&gt;
&lt;br /&gt;
retrieve item - ensure that you have item, creating or buying it if needed.&lt;br /&gt;
&lt;br /&gt;
run [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
&lt;br /&gt;
safe location - show summary data for the specified area.&lt;br /&gt;
&lt;br /&gt;
save as mood - add your current effects to the mood.&lt;br /&gt;
&lt;br /&gt;
searchmall item [ with limit number ] - search the Mall.&lt;br /&gt;
&lt;br /&gt;
second =&amp;gt; equip off-hand&lt;br /&gt;
&lt;br /&gt;
self* =&amp;gt; skills self&lt;br /&gt;
&lt;br /&gt;
sell item [, item]... - autosell items.&lt;br /&gt;
&lt;br /&gt;
send item [, item]... to recipient [ || message ] - send kmail&lt;br /&gt;
&lt;br /&gt;
session [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
set preference [ = value ] - show/change preference settings&lt;br /&gt;
&lt;br /&gt;
shrug[?] effect [, effect]... - remove effects using appropriate means.&lt;br /&gt;
&lt;br /&gt;
skill[?] [ [count] skill [on player] ] - list spells, or use one.&lt;br /&gt;
&lt;br /&gt;
skills [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
sleep number - rest on your clan sofa for number turns.&lt;br /&gt;
&lt;br /&gt;
slimeling[?] [either] item [, item]... - use/consume items&lt;br /&gt;
&lt;br /&gt;
smash item [, item]... - pulverize specified items&lt;br /&gt;
&lt;br /&gt;
smith [ item... ] - list creatables, or create specified items.&lt;br /&gt;
&lt;br /&gt;
soak - soak in your clan&#039;s hot tub&lt;br /&gt;
&lt;br /&gt;
sofa number - rest on your clan sofa for number turns.&lt;br /&gt;
&lt;br /&gt;
spade - examine and submit or delete any automatically gathered data.&lt;br /&gt;
&lt;br /&gt;
speculate MCD num | equip [slot] item | unequip slot | familiar type | up eff | uneffect eff | quiet ; [another;...] - predict modifiers.&lt;br /&gt;
&lt;br /&gt;
squeeze[?] item - produce item by using another form, repeated as needed.&lt;br /&gt;
&lt;br /&gt;
start [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
stash [put] item... | take item... - exchange items with clan stash&lt;br /&gt;
&lt;br /&gt;
status [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
sticker* sticker1 [, sticker2 [, sticker3]] - replace worn stickers.&lt;br /&gt;
&lt;br /&gt;
storage [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
styx muscle | mysticality | moxie - get daily Styx Pixie buff.&lt;br /&gt;
&lt;br /&gt;
summary [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
&lt;br /&gt;
summon demonName | effect | location | number - use the Summoning Chamber.&lt;br /&gt;
&lt;br /&gt;
tavern - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
telescope [look] high | low - get daily buff, or Lair hints from your telescope.&lt;br /&gt;
&lt;br /&gt;
text URL - show text results from visiting URL.&lt;br /&gt;
&lt;br /&gt;
tinker [ item... ] - list creatables, or create specified items.&lt;br /&gt;
&lt;br /&gt;
tower - automatically complete quest.&lt;br /&gt;
&lt;br /&gt;
train base weight | buffed weight | turns number - train familiar.&lt;br /&gt;
&lt;br /&gt;
trigger* clear | autofill | [type,] effect [, action] - edit current mood&lt;br /&gt;
&lt;br /&gt;
try ; commands - do commands, and continue even if an error occurs.&lt;br /&gt;
&lt;br /&gt;
unalias word - remove a CLI abbreviation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
undercut - price all max-priced items at or below current Mall minimum price.&lt;br /&gt;
&lt;br /&gt;
uneffect[?] effect [, effect]... - remove effects using appropriate means.&lt;br /&gt;
&lt;br /&gt;
unequip slot | name - remove equipment in slot, or that matches name&lt;br /&gt;
&lt;br /&gt;
untinker [ item... ] - complete quest, or untinker items.&lt;br /&gt;
&lt;br /&gt;
up? effect [, effect]... - extend duration of effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
update data | clear | prices URL or filename - download most recent data files, or revert to built-in data.&lt;br /&gt;
&lt;br /&gt;
use[?] [either] item [, item]... - use/consume items&lt;br /&gt;
&lt;br /&gt;
using filename - add ASH script to namespace.&lt;br /&gt;
&lt;br /&gt;
validate [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
&lt;br /&gt;
verify [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
&lt;br /&gt;
version - display KoLmafia version.&lt;br /&gt;
&lt;br /&gt;
wait [seconds] - pause script execution (default 1 second).&lt;br /&gt;
&lt;br /&gt;
wear [list filter] | [slot] item - show equipment, or equip item [in slot].&lt;br /&gt;
&lt;br /&gt;
whatif MCD num | equip [slot] item | unequip slot | familiar type | up eff | uneffect eff | quiet ; [another;...] - predict modifiers.&lt;br /&gt;
&lt;br /&gt;
while condition; commands - do commands repeatedly while condition is true.&lt;br /&gt;
&lt;br /&gt;
wield [list filter] | [slot] item - show equipment, or equip item [in slot].&lt;br /&gt;
&lt;br /&gt;
wiki searchText - perform search on KoL Wiki.&lt;br /&gt;
&lt;br /&gt;
win game - I&#039;m as surprised as you! I didn&#039;t think it was possible.&lt;br /&gt;
&lt;br /&gt;
zap item [, item]... - transform items with your wand.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Cli&amp;diff=2860</id>
		<title>Cli</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Cli&amp;diff=2860"/>
		<updated>2009-08-29T09:50:06Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: Created page with &amp;#039; The CLI (Command Line Interface) is a way for users to quickly do things in KoL without having to use either the relay browser or Mafia&amp;#039;s menus. For example, it is quicker to ty…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The CLI (Command Line Interface) is a way for users to quickly do things in KoL without having to use either the relay browser or Mafia&#039;s menus. For example, it is quicker to type &amp;quot;cast ode&amp;quot; into the CLI than to click the &amp;quot;Skill Casting&amp;quot; tab, select Ode to Booze from the drop-down and then click cast.  &lt;br /&gt;
&lt;br /&gt;
==Cli Commands (version 13.5)==&lt;br /&gt;
! - list the Dungeons of Doom potions you&#039;ve identified.&lt;br /&gt;
*.php* - visit URL without showing results.&lt;br /&gt;
*brewery*[?] [ daily special | item ] - show daily special [or consume it or other restaurant item].&lt;br /&gt;
*kitchen*[?] item - consumes item at Hell&#039;s Kitchen, if available.&lt;br /&gt;
*mirror* [filename] - stop [or start] logging to an additional file.&lt;br /&gt;
&amp;lt;inline-ash-script&amp;gt; - embed an ASH script in a CLI script.&lt;br /&gt;
aa skill - set default attack method.&lt;br /&gt;
abort [message] - stop current script or automated task.&lt;br /&gt;
acquire item - ensure that you have item, creating or buying it if needed.&lt;br /&gt;
adv*[?] last | [count] location - spend your turns.&lt;br /&gt;
alias [ word =&amp;gt; expansion ] - list or create CLI abbreviations.&lt;br /&gt;
ash statement - test a line of ASH code without having to edit a script.&lt;br /&gt;
ashref [filter] - summarize ASH built-in functions [matching filter].&lt;br /&gt;
attack [ target [, target]... ] - PvP for dignity or flowers&lt;br /&gt;
autoattack skill - set default attack method.&lt;br /&gt;
automall - dump all profitable, non-memento items into the Mall.&lt;br /&gt;
autosell item [, item]... - autosell items.&lt;br /&gt;
backtrace text | off - dump stack when a gCLI message or page URL matches text (case-sensitive).&lt;br /&gt;
bake [ item... ] - list creatables, or create specified items.&lt;br /&gt;
bang - list the Dungeons of Doom potions you&#039;ve identified.&lt;br /&gt;
basement - check Fernswarthy&#039;s Basement status.&lt;br /&gt;
breakfast - perform start-of-day activities.&lt;br /&gt;
budget [number] - show [or set] the number of budgeted Hagnk&#039;s pulls.&lt;br /&gt;
buff* =&amp;gt; skills buff&lt;br /&gt;
buffbot number - run buffbot for number iterations.&lt;br /&gt;
burn extra | * | num | -num - use excess/all/specified/all but specified MP for buff extension and summons.&lt;br /&gt;
buy item [@ limit] [, another]... - buy from NPC store or the Mall.&lt;br /&gt;
call [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
camp* rest | etc. [numTimes] - perform campground actions.&lt;br /&gt;
cast[?] [ [count] skill [on player] ] - list spells, or use one.&lt;br /&gt;
ccs [script] - show [or select] Custom Combat Script in use.&lt;br /&gt;
cecho color text - show text using color (specified by name or #RRGGBB).&lt;br /&gt;
chamber - automatically complete quest.&lt;br /&gt;
chat - switch to tab or open window&lt;br /&gt;
cheapest[?] [+]item [,[-]item]... [; cmds] - compare prices, do cmds with &amp;quot;it&amp;quot; replaced with best.&lt;br /&gt;
check hp | health | mp | mana | both - attempt to regain some HP or MP.&lt;br /&gt;
checkpoint - remembers current equipment, use &amp;quot;outfit checkpoint&amp;quot; to restore.&lt;br /&gt;
chew[?] [either] item [, item]... - use/consume items&lt;br /&gt;
clan [ snapshot | stashlog ] - clan management.&lt;br /&gt;
cleanup - use, pulverize, or autosell your junk items.&lt;br /&gt;
clear - clear CLI window.&lt;br /&gt;
closet list filter | put item... | take item... - list or manipulate your closet.&lt;br /&gt;
cls - clear CLI window.&lt;br /&gt;
colorecho color text - show text using color (specified by name or #RRGGBB).&lt;br /&gt;
combat* =&amp;gt; skills combat&lt;br /&gt;
concert m[oon&#039;d] | d[ilated pupils] | o[ptimist primal] | e[lvish] | wi[nklered] | wh[ite-boy angst]&lt;br /&gt;
condition* clear | check | add condition | set condition - modify your adventuring goals.&lt;br /&gt;
condref - list conditions usable with if/while commands.&lt;br /&gt;
council - visit the Council to advance quest progress.&lt;br /&gt;
counters [ clear | add number [title img] ] - show, clear, or add to current turn counters.&lt;br /&gt;
create [ item... ] - list creatables, or create specified items.&lt;br /&gt;
csend item [, item]... to recipient [ || message ] - send kmail&lt;br /&gt;
debug [on] | off - start or stop logging of debugging data.&lt;br /&gt;
demons - list the demon names you know.&lt;br /&gt;
disable all | command [, command]... - allow/deny CLI commands.&lt;br /&gt;
display [filter] | put item... | take item... - list or manipulate your display case.&lt;br /&gt;
donate boris | mus | jarl | mys | pete | mox amount - donate in Hall of Legends.&lt;br /&gt;
drink[?] [either] item [, item]... - use/consume items&lt;br /&gt;
dualwield =&amp;gt; equip off-hand&lt;br /&gt;
dusty - list the dusty bottles of wine you&#039;ve identified.&lt;br /&gt;
eat[?] [either] item [, item]... - use/consume items&lt;br /&gt;
echo timestamp | text - include timestamp or text in the session log.&lt;br /&gt;
effects [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
else ; commands - do commands if preceding if/while/try didn&#039;t execute.&lt;br /&gt;
elseif condition; commands - do if condition is true but preceding condition was false.&lt;br /&gt;
enable all | command [, command]... - allow/deny CLI commands.&lt;br /&gt;
encounters [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
entity - give details of your current pastamancer combat entity.&lt;br /&gt;
entryway [clover] - automatically complete quest [using a clover].&lt;br /&gt;
equip [list filter] | [slot] item - show equipment, or equip item [in slot].&lt;br /&gt;
events [clear] - clear or show recent events.&lt;br /&gt;
exec* [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
exit - logout and exit KoLmafia.&lt;br /&gt;
expensive[?] [+]item [,[-]item]... [; cmds] - compare prices, do cmds with &amp;quot;it&amp;quot; replaced with best.&lt;br /&gt;
factory report digits - Given a string of 7 dwarven digits, report on factory.&lt;br /&gt;
familiar[?] [list filter] | lock | unlock | species | none - list or change familiar types&lt;br /&gt;
field [ plant square type | pick square | harvest ] - view or use your mushroom plot&lt;br /&gt;
find item - ensure that you have item, creating or buying it if needed.&lt;br /&gt;
flowers - commit random acts of PvP.&lt;br /&gt;
fold[?] item - produce item by using another form, repeated as needed.&lt;br /&gt;
forum* - visit the official KoL forums.&lt;br /&gt;
friars [blessing] food | familiar | booze - get daily blessing.&lt;br /&gt;
galaktik(hp|mp) [amount] - restore some or all hp or mp&lt;br /&gt;
gc - force Java garbage collection.&lt;br /&gt;
gear - switch to tab or open window&lt;br /&gt;
get preference [ = value ] - show/change preference settings&lt;br /&gt;
ghost[?] [either] item [, item]... - use/consume items&lt;br /&gt;
goal* clear | check | add condition | set condition - modify your adventuring goals.&lt;br /&gt;
gong [buy | set] manual | bird | mole | roach [effect [stat [stat]]]&lt;br /&gt;
gourd - automatically complete quest.&lt;br /&gt;
grandpa query - Ask Grandpa about something.&lt;br /&gt;
guardians - automatically complete quest.&lt;br /&gt;
guild - automatically complete quest.&lt;br /&gt;
hagnk outfit name | item [, item]... - pull items from Hagnk&#039;s storage.&lt;br /&gt;
hedge* - automatically complete quest.&lt;br /&gt;
help [filter] - list CLI commands [that match filter].&lt;br /&gt;
hermit[?] [item] - get clover status, or trade for item.&lt;br /&gt;
hiddencity square [temple|altar item] - set Hidden City square [and perform an action there].&lt;br /&gt;
hobo[?] [either] item [, item]... - use/consume items&lt;br /&gt;
hold =&amp;gt; equip off-hand&lt;br /&gt;
holiday HolidayName - enable special processing for unpredicted holidays.&lt;br /&gt;
hottub - soak in your clan&#039;s hot tub&lt;br /&gt;
http:* - visit URL without showing results.&lt;br /&gt;
if condition; commands - do commands once if condition is true (see condref).&lt;br /&gt;
insults - list the pirate insult comebacks you know.&lt;br /&gt;
inv* [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
item - switch to tab or open window&lt;br /&gt;
junk - use, pulverize, or autosell your junk items.&lt;br /&gt;
kmail item [, item]... to recipient [ || message ] - send kmail&lt;br /&gt;
later commands - adds a button to do commands to the Daily Deeds list.&lt;br /&gt;
leaflet [nomagic] | location | command - complete leaflet quest [without using magic words].&lt;br /&gt;
load [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
locations [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
log [status],[equipment],[effects],[etc.] - record data, &amp;quot;log snapshot&amp;quot; for all common data.&lt;br /&gt;
logecho timestamp | text - include timestamp or text in the session log only.&lt;br /&gt;
login username - logout then log back in as username.&lt;br /&gt;
logout - logout and return to login window.&lt;br /&gt;
logprint timestamp | text - include timestamp or text in the session log only.&lt;br /&gt;
lookup item | effect - go to appropriate KoL Wiki page.&lt;br /&gt;
mail - switch to tab or open window&lt;br /&gt;
make [ item... ] - list creatables, or create specified items.&lt;br /&gt;
mallbuy item [@ limit] [, another]... - buy from NPC store or the Mall.&lt;br /&gt;
mallsell item [[@] price [[limit] num]] [, another]... - sell in Mall.&lt;br /&gt;
maximize[?] [+|-|weight] keyword, ... - run the Modifier Maximizer.&lt;br /&gt;
maze - automatically complete quest.&lt;br /&gt;
mcd number - set mind control device (or equivalent) to new value.&lt;br /&gt;
mind-control number - set mind control device (or equivalent) to new value.&lt;br /&gt;
mix [ item... ] - list creatables, or create specified items.&lt;br /&gt;
modifies filter - list all possible sources of modifiers matching filter.&lt;br /&gt;
modref [object] - list all modifiers, show values for player [and object].&lt;br /&gt;
modtrace filter - list everything that adds to modifiers matching filter.&lt;br /&gt;
moleref - Path of the Mole spoilers.&lt;br /&gt;
monsters location - show combat details for the specified area.&lt;br /&gt;
mood* clear | autofill | execute | repeat [numTimes] | moodName [numTimes] - mood management.&lt;br /&gt;
moon* [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
mpitems - counts MP restoratives in inventory.&lt;br /&gt;
namespace [filter] - list namespace scripts and the functions they define.&lt;br /&gt;
nemesis - automatically complete quest.&lt;br /&gt;
nuns [mp] - visit the Nunnery for restoration [but only if MP is restored].&lt;br /&gt;
objective* clear | check | add condition | set condition - modify your adventuring goals.&lt;br /&gt;
olfact* ( none | monster name | [item] list | goals ) [abort] - tag next monster [that drops all items in list, or your goals].&lt;br /&gt;
opt* - switch to tab or open window&lt;br /&gt;
outfit [list filter] | save name | checkpoint | name - list, save, restore, or change outfits.&lt;br /&gt;
overdrink[?] [either] item [, item]... - use/consume items&lt;br /&gt;
pass* =&amp;gt; skills passive&lt;br /&gt;
pause [seconds] - pause script execution (default 1 second).&lt;br /&gt;
ply [ item... ] - list creatables, or create specified items.&lt;br /&gt;
print timestamp | text - include timestamp or text in the session log.&lt;br /&gt;
priphea - launch KoLmafia GUI.&lt;br /&gt;
pull outfit name | item [, item]... - pull items from Hagnk&#039;s storage.&lt;br /&gt;
pulverize item [, item]... - pulverize specified items&lt;br /&gt;
putty ( none | monster name | [item] list | goals ) [abort] - tag next monster [that drops all items in list, or your goals].&lt;br /&gt;
pvp [ target [, target]... ] - PvP for dignity or flowers&lt;br /&gt;
pvplog* - summarize PvP results.&lt;br /&gt;
quark[?] [itemList...] - gain MP by pasting unstable quark with best item from itemList (or your junk list).&lt;br /&gt;
quit - logout and exit KoLmafia.&lt;br /&gt;
radio - switch to tab or open window&lt;br /&gt;
raffle ticketsToBuy [ inventory | storage ] - buy raffle tickets&lt;br /&gt;
recover* hp | health | mp | mana | both - attempt to regain some HP or MP.&lt;br /&gt;
refresh all | status | equip | inv | storage | familiar | stickers - resynchronize with KoL.&lt;br /&gt;
relay - open the relay browser.&lt;br /&gt;
remedy[?] effect [, effect]... - remove effects using appropriate means.&lt;br /&gt;
remove slot | name - remove equipment in slot, or that matches name&lt;br /&gt;
repeat [number] - repeat previous line [number times].&lt;br /&gt;
reprice - price all max-priced items at or below current Mall minimum price.&lt;br /&gt;
rest =&amp;gt; campground rest&lt;br /&gt;
restaurant[?] [ daily special | item ] - show daily special [or consume it or other restaurant item].&lt;br /&gt;
restore* hp | health | mp | mana | both - attempt to regain some HP or MP.&lt;br /&gt;
retrieve item - ensure that you have item, creating or buying it if needed.&lt;br /&gt;
run [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
safe location - show summary data for the specified area.&lt;br /&gt;
save as mood - add your current effects to the mood.&lt;br /&gt;
searchmall item [ with limit number ] - search the Mall.&lt;br /&gt;
second =&amp;gt; equip off-hand&lt;br /&gt;
self* =&amp;gt; skills self&lt;br /&gt;
sell item [, item]... - autosell items.&lt;br /&gt;
send item [, item]... to recipient [ || message ] - send kmail&lt;br /&gt;
session [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
set preference [ = value ] - show/change preference settings&lt;br /&gt;
shrug[?] effect [, effect]... - remove effects using appropriate means.&lt;br /&gt;
skill[?] [ [count] skill [on player] ] - list spells, or use one.&lt;br /&gt;
skills [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
sleep number - rest on your clan sofa for number turns.&lt;br /&gt;
slimeling[?] [either] item [, item]... - use/consume items&lt;br /&gt;
smash item [, item]... - pulverize specified items&lt;br /&gt;
smith [ item... ] - list creatables, or create specified items.&lt;br /&gt;
soak - soak in your clan&#039;s hot tub&lt;br /&gt;
sofa number - rest on your clan sofa for number turns.&lt;br /&gt;
spade - examine and submit or delete any automatically gathered data.&lt;br /&gt;
speculate MCD num | equip [slot] item | unequip slot | familiar type | up eff | uneffect eff | quiet ; [another;...] - predict modifiers.&lt;br /&gt;
squeeze[?] item - produce item by using another form, repeated as needed.&lt;br /&gt;
start [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
stash [put] item... | take item... - exchange items with clan stash&lt;br /&gt;
status [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
sticker* sticker1 [, sticker2 [, sticker3]] - replace worn stickers.&lt;br /&gt;
storage [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
styx muscle | mysticality | moxie - get daily Styx Pixie buff.&lt;br /&gt;
summary [param] - list indicated type of data, possibly filtered by param.&lt;br /&gt;
summon demonName | effect | location | number - use the Summoning Chamber.&lt;br /&gt;
tavern - automatically complete quest.&lt;br /&gt;
telescope [look] high | low - get daily buff, or Lair hints from your telescope.&lt;br /&gt;
text URL - show text results from visiting URL.&lt;br /&gt;
tinker [ item... ] - list creatables, or create specified items.&lt;br /&gt;
tower - automatically complete quest.&lt;br /&gt;
train base weight | buffed weight | turns number - train familiar.&lt;br /&gt;
trigger* clear | autofill | [type,] effect [, action] - edit current mood&lt;br /&gt;
try ; commands - do commands, and continue even if an error occurs.&lt;br /&gt;
unalias word - remove a CLI abbreviation.&lt;br /&gt;
undercut - price all max-priced items at or below current Mall minimum price.&lt;br /&gt;
uneffect[?] effect [, effect]... - remove effects using appropriate means.&lt;br /&gt;
unequip slot | name - remove equipment in slot, or that matches name&lt;br /&gt;
untinker [ item... ] - complete quest, or untinker items.&lt;br /&gt;
up? effect [, effect]... - extend duration of effects.&lt;br /&gt;
update data | clear | prices URL or filename - download most recent data files, or revert to built-in data.&lt;br /&gt;
use[?] [either] item [, item]... - use/consume items&lt;br /&gt;
using filename - add ASH script to namespace.&lt;br /&gt;
validate [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
verify [numberx] filename | function [parameters] - check/run script.&lt;br /&gt;
version - display KoLmafia version.&lt;br /&gt;
wait [seconds] - pause script execution (default 1 second).&lt;br /&gt;
wear [list filter] | [slot] item - show equipment, or equip item [in slot].&lt;br /&gt;
whatif MCD num | equip [slot] item | unequip slot | familiar type | up eff | uneffect eff | quiet ; [another;...] - predict modifiers.&lt;br /&gt;
while condition; commands - do commands repeatedly while condition is true.&lt;br /&gt;
wield [list filter] | [slot] item - show equipment, or equip item [in slot].&lt;br /&gt;
wiki searchText - perform search on KoL Wiki.&lt;br /&gt;
win game - I&#039;m as surprised as you! I didn&#039;t think it was possible.&lt;br /&gt;
zap item [, item]... - transform items with your wand.&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Basement&amp;diff=2854</id>
		<title>Basement</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Basement&amp;diff=2854"/>
		<updated>2009-08-24T10:06:45Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: Created page with &amp;#039;KoL Mafia will automate your basement diving for you. If you select to auto-adventure in the basement, mafia will adventure for the given number of turns until it encounters a ch…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;KoL Mafia will automate your basement diving for you. If you select to auto-adventure in the basement, mafia will adventure for the given number of turns until it encounters a challenge it knows it cannot pass.&lt;br /&gt;
&lt;br /&gt;
Mafia will:&lt;br /&gt;
&lt;br /&gt;
* Change outfits automatically.&lt;br /&gt;
* Change familiars automatically.&lt;br /&gt;
* Use elementform automatically in the relevent tests.&lt;br /&gt;
* Automatically fight monsters as normal.&lt;br /&gt;
&lt;br /&gt;
Mafia will not: &lt;br /&gt;
&lt;br /&gt;
* Use Dr. Lucifer to pass MP tests. &lt;br /&gt;
* Ever adventure if it is not 100% sure the test will be passed. &lt;br /&gt;
&lt;br /&gt;
==Outfits==&lt;br /&gt;
&lt;br /&gt;
Mafia will change outfits automatically for you, switching to custom outfits called:&lt;br /&gt;
&lt;br /&gt;
* damage&lt;br /&gt;
* element&lt;br /&gt;
* gauntlet &lt;br /&gt;
* mpdrain&lt;br /&gt;
* moxie&lt;br /&gt;
* muscle&lt;br /&gt;
* mysticality&lt;br /&gt;
&lt;br /&gt;
If none of these outfits are present, mafia will simply attempt to pass the test with whatever you have on. &lt;br /&gt;
&lt;br /&gt;
===Familiars===&lt;br /&gt;
&lt;br /&gt;
If you have a parrot, then mafia will switch to it as well if you add &amp;quot; f=parrot&amp;quot; to the end of the outfit name. For these reasons, it&#039;s probably a good idea to have the outfits:&lt;br /&gt;
&lt;br /&gt;
* combat f=sandworm&lt;br /&gt;
* element f=parrot&lt;br /&gt;
&lt;br /&gt;
==Combat==&lt;br /&gt;
&lt;br /&gt;
Mafia will fight monsters as if they were normal enemies. For this reason, it is probably best to set a very simple CCS, just using either an uncapped myst spell, or scaling item (love songs, divines, etc.).&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=String&amp;diff=1685</id>
		<title>String</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=String&amp;diff=1685"/>
		<updated>2009-04-05T12:30:13Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Primitive|Name=string}}&lt;br /&gt;
==Concatenating Strings==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  [[print()|print]](&amp;quot;My base muscle: &amp;quot; + [[my_basestat()|my_basestat]]($[[stat]][muscle]));&lt;br /&gt;
  [[print()|print]](&amp;quot;My base moxie: &amp;quot; + [[my_basestat()|my_basestat]]($[[stat]][moxie]));&lt;br /&gt;
  [[print()|print]](&amp;quot;My base mysticality: &amp;quot; + [[my_basestat()|my_basestat]]($[[stat]][mysticality]));&lt;br /&gt;
  [[comments|// To grab your base main stat, you can:]]&lt;br /&gt;
  [[print()|print]](&amp;quot;My base main stat: &amp;quot; + [[my_basestat()|my_basestat]]([[my_primestat()]]));&lt;br /&gt;
  [[comments|// To grab substats, you can:]]&lt;br /&gt;
  [[print()|print]](&amp;quot;My current muscle substats: &amp;quot; + [[my_basestat()|my_basestat]]($[[stat]][submuscle]));&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Print&amp;diff=2722</id>
		<title>Print</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Print&amp;diff=2722"/>
		<updated>2009-04-05T12:29:51Z</updated>

		<summary type="html">&lt;p&gt;Bumcheekcity: New page: A simple function.   &amp;lt;code&amp;gt;   print(&amp;quot;My base muscle: &amp;quot; + my_basestat($stat[muscle]));   print(&amp;quot;My base moxie: &amp;quot; + [[my_basestat()|my_basestat]...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A simple function. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  [[print()|print]](&amp;quot;My base muscle: &amp;quot; + [[my_basestat()|my_basestat]]($[[stat]][muscle]));&lt;br /&gt;
  [[print()|print]](&amp;quot;My base moxie: &amp;quot; + [[my_basestat()|my_basestat]]($[[stat]][moxie]));&lt;br /&gt;
  [[print()|print]](&amp;quot;My base mysticality: &amp;quot; + [[my_basestat()|my_basestat]]($[[stat]][mysticality]));&lt;br /&gt;
  [[comments|// To grab your base main stat, you can:]]&lt;br /&gt;
  [[print()|print]](&amp;quot;My base main stat: &amp;quot; + [[my_basestat()|my_basestat]]([[my_primestat()]]));&lt;br /&gt;
  [[comments|// To grab substats, you can:]]&lt;br /&gt;
  [[print()|print]](&amp;quot;My current muscle substats: &amp;quot; + [[my_basestat()|my_basestat]]($[[stat]][submuscle]));&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bumcheekcity</name></author>
	</entry>
</feed>