<?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=Crowther</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=Crowther"/>
	<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Special:Contributions/Crowther"/>
	<updated>2026-04-24T22:54:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Monster&amp;diff=9240</id>
		<title>Monster</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Monster&amp;diff=9240"/>
		<updated>2023-12-26T20:08:05Z</updated>

		<summary type="html">&lt;p&gt;Crowther: /* Related Functions */ item_drops are now floats&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:monster}}&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
This data type represents any monster you can encounter in KoL.&lt;br /&gt;
&lt;br /&gt;
The full range, besides $monster[ none ], is too much to list and keep &lt;br /&gt;
up with here: please see the Wiki {{kolwiki|Monster Compendium}} page for &lt;br /&gt;
more information.&lt;br /&gt;
&lt;br /&gt;
==Related Functions==&lt;br /&gt;
&lt;br /&gt;
{{Flink|float [monster]|appearance_rates|location|{{opt|boolean}}}}&lt;br /&gt;
{{Flink|boolean|can_faxbot|monster}}&lt;br /&gt;
{{Flink|float|elemental_resistance|{{opt|monster}}}}&lt;br /&gt;
{{Flink|int|expected_damage|{{opt|monster}}}}&lt;br /&gt;
{{Flink|boolean|faxbot|monster}}&lt;br /&gt;
{{Flink|monster [int]|get_monsters|location}}&lt;br /&gt;
{{Flink|monster|image_to_monster|strict_string}}&lt;br /&gt;
{{Flink|boolean|is_banished|monster}}&lt;br /&gt;
{{Flink|float [item]|item_drops|{{opt|monster}}}}&lt;br /&gt;
{{Flink|record [int]|item_drops_array|{{opt|monster}}}}&lt;br /&gt;
{{flink|int|jump_chance|{{opt|monster}}|{{opt|int}}|{{opt|int}}}}&lt;br /&gt;
{{Flink|monster|last_monster}}&lt;br /&gt;
{{Flink|int|meat_drop|{{opt|monster}}}}&lt;br /&gt;
{{Flink|int|monster_attack|{{opt|monster}}}}&lt;br /&gt;
{{Flink|int|monster_defense|{{opt|monster}}}}&lt;br /&gt;
{{Flink|element|monster_element|{{opt|monster}}}}&lt;br /&gt;
{{Flink|float|monster_eval|string}}&lt;br /&gt;
{{Flink|int|monster_hp|{{opt|monster}}}}&lt;br /&gt;
{{Flink|int|monster_initiative|{{opt|monster}}}}&lt;br /&gt;
{{Flink|int|monster_level_adjustment}}&lt;br /&gt;
{{Flink|phylum|monster_phylum|{{opt|monster}}}}&lt;br /&gt;
{{Flink|monster|to_monster|strict_string}}&lt;br /&gt;
&lt;br /&gt;
==Proxy Record Fields==&lt;br /&gt;
&lt;br /&gt;
Here are the proxy record fields for monsters.  Proxy records are discussed in more &lt;br /&gt;
detail [[Proxy Records|here]].&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;3&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1px&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|- | style=&amp;quot;background-color: #F2F2F2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Field&lt;br /&gt;
! Data type&lt;br /&gt;
! Default value&lt;br /&gt;
! ASH Accessor Function / Notes&lt;br /&gt;
|-&lt;br /&gt;
| id&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| base_hp&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| {{f|monster_hp}} (includes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| base_attack&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| {{f|monster_attack}} (includes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| base_defense&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| {{f|monster_defense}} (includes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| raw_hp&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| (excludes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| raw_attack&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| (excludes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| raw_defense&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| (excludes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| base_initiative&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| {{f|monster_initiative}} (includes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| raw_initiative&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| (excludes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| element attack_element&lt;br /&gt;
| element&lt;br /&gt;
| none&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| element defense_element&lt;br /&gt;
| element&lt;br /&gt;
| none&lt;br /&gt;
| {{f|monster_element}}&lt;br /&gt;
|-&lt;br /&gt;
| physical_resistance&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| min_meat&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| (excludes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| max_meat&lt;br /&gt;
| int&lt;br /&gt;
| 0&lt;br /&gt;
| (excludes modifiers)&lt;br /&gt;
|-&lt;br /&gt;
| base_mainstat_exp&lt;br /&gt;
| foat&lt;br /&gt;
| 0.0&lt;br /&gt;
| (includes bonus stats from +ML, but not from +stat effects)&lt;br /&gt;
|-&lt;br /&gt;
| phylum&lt;br /&gt;
| phylum&lt;br /&gt;
| none&lt;br /&gt;
| {{f|monster_phylum}}&lt;br /&gt;
|-&lt;br /&gt;
| poison&lt;br /&gt;
| effect&lt;br /&gt;
| none&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| boss&lt;br /&gt;
| boolean&lt;br /&gt;
| false&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| dummy&lt;br /&gt;
| boolean&lt;br /&gt;
| false&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| image&lt;br /&gt;
| string&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| images&lt;br /&gt;
| aggregate boolean [string]&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| attributes&lt;br /&gt;
| string&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| A compilation of attack, defense, initiative, element, meat drop, and phylum&lt;br /&gt;
|-&lt;br /&gt;
| random_modifiers&lt;br /&gt;
| aggregate boolean [string]&lt;br /&gt;
|&lt;br /&gt;
| The monster&#039;s random modifiers - like those generated in the One Crazy Random Summer path&lt;br /&gt;
|-&lt;br /&gt;
| manuel_name&lt;br /&gt;
| string&lt;br /&gt;
| &amp;quot;&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting]] [[Category:Data Types]]&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Get_player_id&amp;diff=8376</id>
		<title>Get player id</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Get_player_id&amp;diff=8376"/>
		<updated>2020-05-02T16:54:54Z</updated>

		<summary type="html">&lt;p&gt;Crowther: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|get_player_id}}{{&lt;br /&gt;
#vardefine:return_type|string}}{{&lt;br /&gt;
&lt;br /&gt;
FunctionPage|&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|player}}|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Returns the user id number of a given player.  If KoLmafia does not already know the player&#039;s id number, it will return the input string.|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=Get user id so that we can check the user&#039;s page for their current class.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
class player_to_class( string player ) {&lt;br /&gt;
   string id = get_player_id( name );&lt;br /&gt;
   matcher classy = create_matcher( &amp;quot;Class:&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;(.+?)&amp;lt;/td&amp;gt;&amp;quot;, visit_url( &amp;quot;showplayer.php?who=&amp;quot; + id ) ); &lt;br /&gt;
   if(find(classy))  &lt;br /&gt;
      return classy.group(1).to_class();&lt;br /&gt;
   return $class[none]; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
&lt;br /&gt;
}}|&lt;br /&gt;
}}&lt;br /&gt;
{{SeeAlso|my_id|get_clan_id|get_clan_name}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Miscellaneous Functions]]&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Appearance_rates&amp;diff=4752</id>
		<title>Appearance rates</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Appearance_rates&amp;diff=4752"/>
		<updated>2019-08-13T15:38:41Z</updated>

		<summary type="html">&lt;p&gt;Crowther: Example didn&amp;#039;t match text.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|appearance_rates}}{{&lt;br /&gt;
#vardefine:return_type|float [monster]}}{{&lt;br /&gt;
#vardefine:aggregate|yes}}{{&lt;br /&gt;
&lt;br /&gt;
FunctionPage|&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|location|place}}|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function2={{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|location|place}}|&lt;br /&gt;
parameter2={{Param|boolean|queue}}|&lt;br /&gt;
p1desc={{Pspan|place}} is the adventuring location to parse|&lt;br /&gt;
p2desc=The optional parameter {{Pspan|queue}} is false if not included.|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Returns a map, keyed by monster, with the appearance rate percentages as decimal values (ie a 30% rate monster has a value of 30.0). Bosses, semirare encounters, and other one-time-only monsters have a value of 0.0; ultra-rare monsters have a negative value (the actual value varies; test by looking for value &amp;lt; 0, not value == -1). Does not account for combat rate modifiers, olfaction, etc.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If there is a chance of non-combat encounters, that will be listed as the chance of encountering $monster[none].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If {{Pspan|queue}} is true, then the monsters currently in the adventuring queue will be considered when determining the likelihood of future encounters. This is better for a real prediction of what monster will actually occur next while not considering the queue is better for modeling theoretical situations.|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Simple Example|&lt;br /&gt;
description=Prints the encounters in a zone and their rates of appearing.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
foreach mob, freq in appearance_rates($location[Dungeon of Doom])&lt;br /&gt;
   switch {&lt;br /&gt;
   case mob == $monster[none]:&lt;br /&gt;
      if(freq &amp;gt; 0) print(&amp;quot;Frequency of non-combats: &amp;quot;+ freq + &amp;quot;%&amp;quot;);&lt;br /&gt;
      break;&lt;br /&gt;
   case freq &amp;gt; 0:&lt;br /&gt;
      print(&amp;quot;Frequency of &amp;quot; + mob + &amp;quot;: &amp;quot; + freq + &amp;quot;%&amp;quot;);&lt;br /&gt;
      break;&lt;br /&gt;
   case freq == 0:&lt;br /&gt;
      print(&amp;quot;Frequency of &amp;quot; + mob + &amp;quot;: Boss (one time encounter) or semirare encounter.&amp;quot;);&lt;br /&gt;
      break;&lt;br /&gt;
   case freq &amp;lt; 0:&lt;br /&gt;
      print(&amp;quot;Frequency of &amp;quot; + mob + &amp;quot;: Ultra-rare!&amp;quot;);&lt;br /&gt;
      break;&lt;br /&gt;
   default:&lt;br /&gt;
      print(&amp;quot;Frequency of &amp;quot; + mob + &amp;quot;: Unknown&amp;quot;);&lt;br /&gt;
      break;&lt;br /&gt;
   }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}|&lt;br /&gt;
see_also={{SeeAlso|get_monsters|last_monster}}|&lt;br /&gt;
special=When not logged in, this function still returns the same data, as it is pulled from KoLmafia&#039;s data files.|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Adventuring]]&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=File_to_map&amp;diff=3071</id>
		<title>File to map</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=File_to_map&amp;diff=3071"/>
		<updated>2012-07-27T16:16:24Z</updated>

		<summary type="html">&lt;p&gt;Crowther: Fix missing argument.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{&lt;br /&gt;
#vardefine:name|file_to_map}}{{&lt;br /&gt;
#vardefine:return_type|boolean}}{{&lt;br /&gt;
&lt;br /&gt;
FunctionPage|&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|file_to_load}}|&lt;br /&gt;
parameter2={{Param|aggregate|map_to_fill}}|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function2={{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|file_to_load}}|&lt;br /&gt;
parameter2={{Param|aggregate|map_to_fill}}|&lt;br /&gt;
parameter3={{Param|boolean|compact}}|&lt;br /&gt;
p1desc={{Pspan|file_to_load}} is the filename to load from|&lt;br /&gt;
p2desc={{Pspan|map_to_fill}} is the map to populate with data|&lt;br /&gt;
p3desc={{Pspan|compact}} is an (optional) flag; if omitted or true, records that do not contain any aggregate values are expected to be written on a single line, rather that one line per field.|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
function_description=Loads data to the {{pspan|map_to_fill}} from a saved {{pspan|file_to_load}} in your KoLmafia &amp;quot;data&amp;quot; or &amp;quot;scripts&amp;quot; directory. Any data originally stored in the {{pspan|map_to_fill}} are wiped before loading the file. The {{pspan|compact}} parameter is not needed unless you specified it in the [[map_to_file|map_to_file()]] call that originally generated the file, in which case the values must match. This function returns the operation&#039;s success. If {{pspan|map_to_fill}} has not been delcared, this function will abort (as oppossed to returning false).&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;You can also directly load internal data files used by KoLmafia, such as concoctions.txt and fullness.txt, by specifying their name&amp;amp;#151;KoLmafia will automatically load the file for you. For a full list of internal data files used by KoLmafia, see the [http://kolmafia.svn.sourceforge.net/viewvc/kolmafia/src/data/ KoLmafia source repository].|&lt;br /&gt;
&lt;br /&gt;
code1={{CodeSample|&lt;br /&gt;
title=Code Sample|&lt;br /&gt;
description=This sample loads a simple map that includes item names keyed by a number.|&lt;br /&gt;
code=&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
string [int] my_list;&lt;br /&gt;
file_to_map( &amp;quot;SavedList.txt&amp;quot; , my_list);&lt;br /&gt;
for i from 0 to (count(my_list) - 1) {&lt;br /&gt;
   print( &amp;quot;At index: &amp;quot; + i + &amp;quot; We find: &amp;quot; + my_list[i] );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
If the file &amp;quot;SavedList.txt&amp;quot; had the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
0	StDoodle&lt;br /&gt;
1	Grotfang&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then the results would be:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
At index: 0 We find: StDoodle&lt;br /&gt;
At index: 1 We find: Grotfang&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{CodeSample|&lt;br /&gt;
description=The following sample loads the full list of {{kolwiki|Category:Spleentacular Items|spleen-damaging items}} from [http://kolmafia.svn.sourceforge.net/viewvc/kolmafia/src/data/spleenhit.txt spleenhit.txt].|&lt;br /&gt;
code=&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
int [item] spleen_hits;&lt;br /&gt;
file_to_map( &amp;quot;spleenhit.txt&amp;quot; , spleen_hits );&lt;br /&gt;
&lt;br /&gt;
foreach itm, spleen_hit in spleen_hits&lt;br /&gt;
   print( itm + &amp;quot; will damage &amp;quot; + spleen_hit + &amp;quot; of your spleen.&amp;quot; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;|&lt;br /&gt;
}}|&lt;br /&gt;
&lt;br /&gt;
see_also={{SeeAlso|map_to_file|}}|&lt;br /&gt;
more_info=You can load any information stored in a data file, as long as your map contains the appropriate [[Data Types]] separated by tabs. Spaces are just considered to be part of a string.&amp;lt;br /&amp;gt;&lt;br /&gt;
Any line that begins with a number sign (&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;) is considered a comment, and is ignored by KoLmafia.|&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Miscellaneous Functions]]&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Miscellaneous_Functions&amp;diff=1081</id>
		<title>Miscellaneous Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Miscellaneous_Functions&amp;diff=1081"/>
		<updated>2007-11-07T18:19:31Z</updated>

		<summary type="html">&lt;p&gt;Crowther: r&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Part 7 - Miscellaneous ==&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Mostly internal stuff. Some good for everyone, some only for ASH wizards.&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;void print( string output )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;void print( string output, string color )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Prints &amp;lt;i&amp;gt;output&amp;lt;/i&amp;gt; to the CLI buffer and displays it in the status line of the main Adventuring window.  If &amp;lt;i&amp;gt;color&amp;lt;/i&amp;gt; is specified any HTML in &amp;lt;i&amp;gt;output&amp;lt;/i&amp;gt; is escaped and the string is wrapped in a font tag before being printed.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean cli_execute( string command )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you&amp;amp;#8217;re careful and not an asshat, for raw URLs.&amp;lt;br /&amp;gt;&lt;br /&gt;
See the [http://kolmafia.sourceforge.net/scripting.html CLI manual] for more details.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_4:_Hedging|Hedging]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;void wait( int delay )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Sleeps for &amp;lt;i&amp;gt;delay&amp;lt;/i&amp;gt; seconds.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string get_property( string key )&amp;lt;br /&amp;gt;&lt;br /&gt;
boolean set_property( string key, string value )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Gets or sets a stored property from your character&amp;amp;#8217;s .kcs file.&amp;lt;br /&amp;gt;&lt;br /&gt;
The KoLmafia [[%28ASHRM%29_KoLMafia_Properties|properties]] page contains details on many of the keys that are available for access.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean file_to_map( string file_to_load, map map_to_fill )&amp;lt;br /&amp;gt;&lt;br /&gt;
boolean map_to_file( map map_to_save, string file_to_write )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Loads and saves maps as tab-delimited text files.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int random( int range )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Generates a random integer between 0 and (range-1) inclusive.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int round( float ratio )&amp;lt;br /&amp;gt;&lt;br /&gt;
int floor( float ratio )&amp;lt;br /&amp;gt;&lt;br /&gt;
int ceil( float ratio )&amp;lt;br /&amp;gt;&lt;br /&gt;
int truncate( float ratio )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns an integer near the given real number.  Respectively, it returns the nearest, next lowest, next highest, and decimal-stripped integer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int count( map )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns the number of defined keys for the aggregate.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;void clear( map )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Remove all keys from a map. &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;void disable( string function_name )&amp;lt;br /&amp;gt;&lt;br /&gt;
void enable( string function_name )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
For debugging purposes disables or enables the indicated function&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;float square_root( float value )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
returns the square root of the passed value&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string today_to_string()&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns today&amp;amp;#8217;s (real-world) date in the form yyyymmdd.  It is based on your computer&amp;amp;#8217;s system date&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=KoLmafia_Properties&amp;diff=1219</id>
		<title>KoLmafia Properties</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=KoLmafia_Properties&amp;diff=1219"/>
		<updated>2007-11-07T18:19:21Z</updated>

		<summary type="html">&lt;p&gt;Crowther: r&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Part 11 - KoLmafia Properties ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;In addition to affecting gameplay directly through ASH functions and CLI commands, scripters also have the ability to control certain core behaviors of KoLmafia through direct modification of the preferences file.  In addition, scripters can also create variables that will survive across sessions.  &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;To see all of the pre-defined variables that exist, look in the &amp;amp;#8220;data&amp;amp;#8221; subfolder wherever you keep the KoLmafia executable and open up any of the .kcs files named for your characters.  This guide will not attempt to describe all of the variables that are there: many are uninteresting from the player&amp;amp;#8217;s point of view and others are too unwieldy to be properly set at the moment.  Of those that are interesting and accessable, the functionality can be divided into three main sections:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Edit: I believe the preferences are now stored in the &amp;quot;settings&amp;quot; folder, rather than the &amp;quot;data&amp;quot; folder, and are named &amp;quot;prefs_character_name.txt&amp;quot;.  Anyone more knowledgable than I care to confirm?  --[[User:HallowedWeasel|HallowedWeasel]] 15:59, 27 February 2007 (CST) &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;Choice Adventures&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;These settings control all of the non-combat adventures that give you a choice of outcomes.  In the GUI, you can view and set these options in the Choices tab of the Preferences window, but you can also more-or-less directly access the values from ASH.  This is slightly unorthodox behavior, given that the GUI doesn&amp;amp;#8217;t get notified that the true value has been updated and so your Choices page could be out of synch, but needs must when the Devil drives, eh?&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;As I said before, setting these values may be more-or-less direct, which turns out to be true in a literal sense.  Of the two sections on the Choices tab, the lower set is &amp;amp;#8220;more&amp;amp;#8221; direct.  These line up as follows:&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;TABLE BORDER=1 CELLPADDING=4&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TH&amp;gt;Property Name&amp;lt;/TH&amp;gt;&amp;lt;TH&amp;gt;Preferences Tab Name&amp;lt;/TH&amp;gt;&amp;lt;TH&amp;gt;KoL Adventure Name&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TH&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure2&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Palindome&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Denim Axes Examined&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure3&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Teleportitis&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;The Oracle Will See You Now&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure4&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;South of the Border&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Finger-Lickin&amp;amp;#8217; &amp;amp;#8230; Death&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure5&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Gravy Barrow 1&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Heart of Very, Very Dark Darkness&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure7&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Gravy Barrow 2&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;How Depressing&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure8&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Gravy Barrow 3&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;On the Verge of a Dirge&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure15&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;eXtreme Slope 1&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Yeti Nother Hippy&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure16&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;eXtreme Slope 2&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Saint Beernard&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure17&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;eXtreme Slope 3&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Generic Teen Comedy&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure18&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Itznotyerzitz Mine 1&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;A Flat Miner&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure19&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Itznotyerzitz Mine 2&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;100% Legal&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure20&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Itznotyerzitz Mine 3&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;See You Next Fall&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure21&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Sleazy Back Alley&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Under the Knife&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure22&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Pirate&amp;amp;#8217;s Cove 1&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;The Arrrbitrator&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure23&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Pirate&amp;amp;#8217;s Cove 2&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Barrie Me at Sea&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure24&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Pirate&amp;amp;#8217;s Cove 3&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Amatearrr Night&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure25&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Dungeon of Doom&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Ouch!  You bump into a door!&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure40&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Cola Wars 1&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;The Effervescent Fray&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure41&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Cola Wars 2&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Smells Like Team Spirit&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure42&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Cola Wars 3&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;What is it Good For?&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure45&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Spooky Forest 1&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Maps and Legends&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure46&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Spooky Forest 2&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;An Interesting Choice&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure47&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Spooky Forest 3&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Have a Heart&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure73&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Whitey&amp;amp;#8217;s Grove 1&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Don&amp;amp;#8217;t Fence Me In&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure74&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Whitey&amp;amp;#8217;s Grove 2&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;The Only Thing About Him&amp;amp;#8230;&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;choiceAdventure75&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Whitey&amp;amp;#8217;s Grove 3&amp;lt;/TD&amp;gt;&amp;lt;TD ALIGN=LEFT&amp;gt;Rapido!&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&amp;lt;/TABLE&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Changing the settings for these adventures is as easy as an ASH function like set_property(&amp;amp;#8221;choiceAdventure40&amp;amp;#8243;, &amp;amp;#8220;2&amp;amp;#8243;) or the CLI command &amp;amp;#8220;set choiceAdventure46=3&amp;amp;#8243;.  To be candid, I can never figure out the correct numeric value by any amount of cleverness, so what I do is to log in to KoLmafia, use the Preferences Window to set the value to what I want, quit KoLmafia, and then check my character&amp;amp;#8217;s .kcs file to see the value that was set for the appropriate key.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;By contrast, there is limited support for setting the adventures in the upper set, as these are compound settings.  The two that are most affected are Castle Wheel, which controls all of choiceAdventure9 through choiceAdventure12, and which corpse you want to loot in the Spooky Forest, which covers choiceAdventure26 through choiceAdventure29.  Again, your best bet is to set these two adventures to the choice you want and then check your data file to see which specific settings correspond to the high-level decision.  So far as I know, there is no way to use scripts to specify your choices for the Astral Trip.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;However, according to Holatuwol ([http://kolmafia.us/index.php/topic,1155.0.html here]), the settings map to &amp;quot;X=pick the Xth Option&amp;quot; and X+1=pick an item you don&#039;t have (i.e., complete the outfit).&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Other KoLmafia-based preferences&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This is going to be a limited survey of the more interesting of the settings that you can control.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;battleAction&amp;lt;/b&amp;gt; - This specifies the strategy that you will use in battle.  The sorts of values that you might select here are &amp;amp;#8220;attack&amp;amp;#8221; for normal attacking, &amp;amp;#8220;custom&amp;amp;#8221; to use the Custom Combat Scripts, &amp;amp;#8220;item dictionary&amp;amp;#8221; when you&amp;amp;#8217;re adventuring in the Valley beyond Orc Chasm, or &amp;amp;#8220;skill thrust smack&amp;amp;#8221; to use TS during the entire battle.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;hpAutoRecovery&amp;lt;/b&amp;gt; - This is a float value that specifies the percentage of your HP at which the autohealer kicks in.  I haven&amp;amp;#8217;t tried it, but I think you&amp;amp;#8217;d be generally unhappy if you set it to something other than a multiple of 0.1.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;hpAutoRecoveryTarget&amp;lt;/b&amp;gt; - A companion to the above, this is the target that the autohealer will aspire to achieve.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;As before, feel free to peruse the .kcs file to see all of the values.  The names aren&amp;amp;#8217;t very subtle, so you should be able to guess what they&amp;amp;#8217;re all for.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;User-defined variables&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;In addition to setting the variables that KoLmafia predefines, you can also create any others to cover any information you wish.  As you do so, keep in mind that while you can clear a variable&amp;amp;#8217;s value to the null string, there is currently no way to delete a key (aside from editing the .kcs file in the text processor of your choice and deleting the line that contains the key).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Talk:String_Handling_Routines&amp;diff=2135</id>
		<title>Talk:String Handling Routines</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Talk:String_Handling_Routines&amp;diff=2135"/>
		<updated>2007-10-20T15:05:56Z</updated>

		<summary type="html">&lt;p&gt;Crowther: Revert (way way back)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So wtf does group_string actually do?  The linked &amp;quot;descriptive&amp;quot; post has an utterly unhelpful example.  Has anyone ever used it for anything?&lt;br /&gt;
&lt;br /&gt;
Groups a string into a map using a regular expression. To understand the function you must know.&lt;br /&gt;
1. What maps are and how they are used.&lt;br /&gt;
2. Understand what regular expressions are and how to create them.&lt;br /&gt;
&lt;br /&gt;
Using the original post:&lt;br /&gt;
&lt;br /&gt;
FUNCTION DEFINTION: string [int,int] group_string( string source, string regex )&lt;br /&gt;
EXAMPLE: string [int,int] test = group_string( &amp;quot;This is a test&amp;quot;, &amp;quot;([a-z] ) &amp;quot; );&lt;br /&gt;
&lt;br /&gt;
Example Breakdown:&lt;br /&gt;
&#039;&#039;&#039;string [int,int]&#039;&#039;&#039; Define a map. Two dimensional. The indices are integers. The data is stored as a string.&lt;br /&gt;
&#039;&#039;&#039;test&#039;&#039;&#039; Define the map with name &#039;&#039;&#039;test&#039;&#039;&#039;.&lt;br /&gt;
&#039;&#039;&#039;group_string&#039;&#039;&#039; Call the function.&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;This is a Test&amp;quot;&#039;&#039;&#039; Feeding the function a sample string.&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;([a-z] ) &amp;quot;&#039;&#039;&#039; Your regular expression.&lt;br /&gt;
&lt;br /&gt;
Regular expressions deal with pattern matching. You want the function to find a particular pattern. The function then returns that pattern, or the stuff before it, or the stuff after it, or splits them appart, or squeezes them together. So what does this regular expression look for? &lt;br /&gt;
&#039;&#039;&#039;The Parenthesis ():&#039;&#039;&#039; Tell the function this is a group of characters.&lt;br /&gt;
&#039;&#039;&#039;[a-z]:&#039;&#039;&#039; Tell us they will be lower case letters.&lt;br /&gt;
&#039;&#039;&#039; :&#039;&#039;&#039; Tell us to look for one or more characters.&lt;br /&gt;
That space between the ) and &amp;quot; Tells us the pattern ends in a space.&lt;br /&gt;
&lt;br /&gt;
Thus reading down the string.&lt;br /&gt;
T = Does not match [a-z] is a capital letter.&lt;br /&gt;
h = Matches [a-z]. Starting Group&lt;br /&gt;
i = Matches [a-z]&lt;br /&gt;
s = Matches [a-z]&lt;br /&gt;
  = Matches space. First group found and is &amp;quot;his &amp;quot;&lt;br /&gt;
i = Matches [a-z]. Starting Group&lt;br /&gt;
s = Matches [a-z]&lt;br /&gt;
  = Matches space. Second group found, and is &amp;quot;is &amp;quot;&lt;br /&gt;
a = Matches [a-z]. Starting Group&lt;br /&gt;
  = Matches space. Third group found, and is &amp;quot;a &amp;quot;&lt;br /&gt;
t = Matches [a-z]. Starting Group&lt;br /&gt;
e = Matches [a-z]&lt;br /&gt;
s = Matches [a-z]&lt;br /&gt;
t = Matches [a-z]&lt;br /&gt;
End of line. No more matches. Stop.&lt;br /&gt;
&lt;br /&gt;
Thus, trusting the post, the map would be:&lt;br /&gt;
&lt;br /&gt;
test[0][0] =&amp;gt; &amp;quot;his &amp;quot;&lt;br /&gt;
test[0][1] =&amp;gt; &amp;quot;his&amp;quot;&lt;br /&gt;
test[1][0] =&amp;gt; &amp;quot;is &amp;quot;&lt;br /&gt;
test[1][1] =&amp;gt; &amp;quot;is&amp;quot;&lt;br /&gt;
test[2][0] =&amp;gt; &amp;quot;a &amp;quot;&lt;br /&gt;
test[2][1] =&amp;gt; &amp;quot;a&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I personally haven&#039;t used it. Would be used in parsing a page by hand.&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=381</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=381"/>
		<updated>2007-10-20T14:26:37Z</updated>

		<summary type="html">&lt;p&gt;Crowther: again&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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:center;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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Helpful Links ==&lt;br /&gt;
&lt;br /&gt;
KoLMafia:&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net Download KoLMafia]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/manual.html KoLMafia Documentation]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/scripting.html CLI Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/advanced.html ASH Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/combat.html Custom Combat Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://www.kolmafia.us The KoLMafia Script Repository]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/vb/showthread.php?t=88408 The KoLMafia thread on the KoL Forums]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
KoL:&lt;br /&gt;
&lt;br /&gt;
[http://www.kingdomofloathing.com/ The Kingdom of Loathing]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/ KoL Forums]&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=363</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=363"/>
		<updated>2007-10-17T17:21:06Z</updated>

		<summary type="html">&lt;p&gt;Crowther: Revert&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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:center;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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Helpful Links ==&lt;br /&gt;
&lt;br /&gt;
KoLMafia:&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net Download KoLMafia]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/manual.html KoLMafia Documentation]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/scripting.html CLI Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/advanced.html ASH Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/combat.html Custom Combat Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://www.kolmafia.us The KoLMafia Script Repository]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/viewtopic.php?t=19779 The KoLMafia thread on the KoL Forums]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
KoL:&lt;br /&gt;
&lt;br /&gt;
[http://www.kingdomofloathing.com/ The Kingdom of Loathing]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/ KoL Forums]&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=186</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=186"/>
		<updated>2007-09-22T19:08:49Z</updated>

		<summary type="html">&lt;p&gt;Crowther: And Again&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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:center;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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Helpful Links ==&lt;br /&gt;
&lt;br /&gt;
KoLMafia:&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net Download KoLMafia]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/manual.html KoLMafia Documentation]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/scripting.html CLI Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/advanced.html ASH Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/combat.html Custom Combat Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://www.kolmafia.us The KoLMafia Script Repository]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/viewtopic.php?t=19779 The KoLMafia thread on the KoL Forums]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
KoL:&lt;br /&gt;
&lt;br /&gt;
[http://www.kingdomofloathing.com/ The Kingdom of Loathing]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/ KoL Forums]&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=180</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=180"/>
		<updated>2007-09-21T13:28:57Z</updated>

		<summary type="html">&lt;p&gt;Crowther: JFC enough with the spam&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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:center;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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Helpful Links ==&lt;br /&gt;
&lt;br /&gt;
KoLMafia:&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net Download KoLMafia]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/manual.html KoLMafia Documentation]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/scripting.html CLI Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/advanced.html ASH Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/combat.html Custom Combat Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://www.kolmafia.us The KoLMafia Script Repository]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/viewtopic.php?t=19779 The KoLMafia thread on the KoL Forums]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
KoL:&lt;br /&gt;
&lt;br /&gt;
[http://www.kingdomofloathing.com/ The Kingdom of Loathing]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/ KoL Forums]&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Miscellaneous_Functions&amp;diff=961</id>
		<title>Miscellaneous Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Miscellaneous_Functions&amp;diff=961"/>
		<updated>2007-09-12T16:37:18Z</updated>

		<summary type="html">&lt;p&gt;Crowther: Revert&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Part 7 - Miscellaneous ==&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;em&amp;gt;Mostly internal stuff. Some good for everyone, some only for ASH wizards.&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&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;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean cli_execute( string command )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you&amp;amp;#8217;re careful and not an asshat, for raw URLs.&amp;lt;br /&amp;gt;&lt;br /&gt;
See the [http://kolmafia.sourceforge.net/scripting.html CLI manual] for more details.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_4:_Hedging|Hedging]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;void wait( int delay )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Does nothing for the desired number of seconds.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string get_property( string key )&amp;lt;br /&amp;gt;&lt;br /&gt;
boolean set_property( string key, string value )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Gets or sets a stored property from your character&amp;amp;#8217;s .kcs file.&amp;lt;br /&amp;gt;&lt;br /&gt;
The KoLmafia [[%28ASHRM%29_KoLMafia_Properties|properties]] page contains details on many of the keys that are available for access.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;em&amp;gt;Sample&amp;lt;/em&amp;gt;:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;boolean file_to_map( string file_to_load, map map_to_fill )&amp;lt;br /&amp;gt;&lt;br /&gt;
boolean map_to_file( map map_to_save, string file_to_write )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Loads and saves maps as tab-delimited text files.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int random( int range )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Generates a random integer between 0 and (range-1) inclusive.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int round( float ratio )&amp;lt;br /&amp;gt;&lt;br /&gt;
int floor( float ratio )&amp;lt;br /&amp;gt;&lt;br /&gt;
int ceil( float ratio )&amp;lt;br /&amp;gt;&lt;br /&gt;
int truncate( float ratio )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns an integer near the given real number.  Respectively, it returns the nearest, next lowest, next highest, and decimal-stripped integer.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;int count( map )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns the number of defined keys for the aggregate.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;void clear( map )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Remove all keys from a map. &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;void disable( string function_name )&amp;lt;br /&amp;gt;&lt;br /&gt;
void enable( string function_name )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
For debugging purposes disables or enables the indicated function&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;float square_root( float value )&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
returns the square root of the passed value&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;string today_to_string()&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns today&amp;amp;#8217;s (real-world) date in the form yyyymmdd.  It is based on your computer&amp;amp;#8217;s system date&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
	<entry>
		<id>https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=150</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.kolmafia.us/index.php?title=Main_Page&amp;diff=150"/>
		<updated>2007-09-12T16:08:59Z</updated>

		<summary type="html">&lt;p&gt;Crowther: Enough spam!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&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;
&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:center;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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Helpful Links ==&lt;br /&gt;
&lt;br /&gt;
KoLMafia:&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net Download KoLMafia]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/manual.html KoLMafia Documentation]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/scripting.html CLI Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/advanced.html ASH Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://kolmafia.sourceforge.net/combat.html Custom Combat Scripting Manual]&lt;br /&gt;
&lt;br /&gt;
[http://www.kolmafia.us The KoLMafia Script Repository]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/viewtopic.php?t=19779 The KoLMafia thread on the KoL Forums]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
KoL:&lt;br /&gt;
&lt;br /&gt;
[http://www.kingdomofloathing.com/ The Kingdom of Loathing]&lt;br /&gt;
&lt;br /&gt;
[http://forums.kingdomofloathing.com/ KoL Forums]&amp;lt;div style=&#039;display:none;width=1px;&#039;&amp;gt;&amp;lt;a href=&amp;quot;http://zemiacik.yi.org&amp;quot;&amp;gt;zemiacik&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://malinka.b0b.org&amp;quot;&amp;gt;malinka&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://updatedomains.slyip.net&amp;quot;&amp;gt;updatedomains&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://aboutsettings.flnet.org/www-lustofamateurs-com.html&amp;quot;&amp;gt;lustofamateurs aboutsettings&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://broskina.flnet.org&amp;quot;&amp;gt;broskina&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://geresa.yi.org/www-eulogy-to-remember-com.html&amp;quot;&amp;gt;eulogy to remember geresa&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://marhula.weedns.com&amp;quot;&amp;gt;marhula&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://strakac.dtdns.net&amp;quot;&amp;gt;strakac&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://tralalaaaa.yi.org/motrin-dose.xphp&amp;quot;&amp;gt;motrin dose tralalaaaa&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &amp;lt;a href=&amp;quot;http://ceresna.yi.org&amp;quot;&amp;gt;ceresna&amp;lt;/a&amp;gt;  &amp;lt;br&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Crowther</name></author>
	</entry>
</feed>