|
|
(127 intermediate revisions by 58 users not shown) |
Line 1: |
Line 1: |
| [http://ronald180.idilis.ro/library/medical-transcription/ medical transcription contractor jobs] [http://shurrikk.idilis.ro/web/welfare-offices.html welfare offices] [http://shurrikk.idilis.ro/web/poker-dollars.html poker dollars] [http://ronald180.idilis.ro/library/where-to/ where to buy phentermine] [http://ann-eva.idilis.ro/web/lime-wirecom.html lime wirecom] [http://lisonka-91.idilis.ro/art-bone/ art bone clip dog dog] [http://shurrikk.idilis.ro/web/telephone-numbers.html telephone numbers] [http://ann-eva.idilis.ro/web/freelance-writing.html freelance writing] [http://shurrikk.idilis.ro/web/the-zone.html the zone diet reviews] [http://irina5009189.idilis.ro/wills-trusts/ wills trusts and estates] [http://irina5009189.idilis.ro/presidential-debates/ presidential debates bush kerry] [http://ronald180.idilis.ro/library/landscaping-programs/ landscaping programs] [http://lisonka-91.idilis.ro/uh-oh/ uh oh butt] [http://lisonka-91.idilis.ro/pakistani-brides/ pakistani brides] [http://irina5009189.idilis.ro/philly-chiro/ philly chiro] [http://shurrikk.idilis.ro/web/red-morning.html red morning glory] [http://shurrikk.idilis.ro/web/illinois-special.html illinois special education scholarship] [http://irina5009189.idilis.ro/sears-credit/ sears credit card] [http://ronald180.idilis.ro/library/roto-virus/ roto virus] [http://ann-eva.idilis.ro/web/wedding-flower.html wedding flower girl dress] [http://ann-eva.idilis.ro/web/nicole-kidman.html nicole kidman] [http://irina5009189.idilis.ro/glipizide/ glipizide] [http://lisonka-91.idilis.ro/order-hydrocodone/ order hydrocodone] [http://ann-eva.idilis.ro/web/dvr.html dvr] [http://ann-eva.idilis.ro/web/rich-man.html rich man poor man novelist] [http://shurrikk.idilis.ro/web/chihuahua-puppies.html chihuahua puppies for sale] [http://lisonka-91.idilis.ro/travelocitycom-hotel/ travelocitycom hotel] [http://lisonka-91.idilis.ro/find-peoples/ find peoples cell phone numbers] [http://irina5009189.idilis.ro/stewart-patterson/ stewart patterson] [http://ann-eva.idilis.ro/web/nothing-could.html nothing could come] [http://ann-eva.idilis.ro/web/tattoo-covering.html tattoo covering makeup] [http://shurrikk.idilis.ro/web/ocean-crust.html ocean crust] [http://irina5009189.idilis.ro/free-porn/ free porn pics] [http://irina5009189.idilis.ro/generic-bontril/ generic bontril] [http://lisonka-91.idilis.ro/anti-depressants/ anti depressants] [http://shurrikk.idilis.ro/web/lorazepam.html lorazepam] [http://ronald180.idilis.ro/library/king-james/ king james bible 1611] [http://shurrikk.idilis.ro/web/short-journey.html short journey retreat center] [http://lisonka-91.idilis.ro/educational-video/ educational video games online] [http://irina5009189.idilis.ro/coach-designer/ coach designer shoes] [http://irina5009189.idilis.ro/mario-brothers/ mario brothers 3 level 8] [http://ann-eva.idilis.ro/web/girls-gone.html girls gone wild video] [http://shurrikk.idilis.ro/web/music-from.html music from camp the movie] [http://irina5009189.idilis.ro/suzuki-motorcycles/ suzuki motorcycles] [http://irina5009189.idilis.ro/d-animated/ 3d animated animal] [http://lisonka-91.idilis.ro/ironman-movies/ ironman movies] [http://ronald180.idilis.ro/library/generic-tadalafil/ generic tadalafil] [http://lisonka-91.idilis.ro/wedding-gift/ wedding gift] [http://ronald180.idilis.ro/library/professional-computer/ professional computer ethics] [http://shurrikk.idilis.ro/web/geodon.html geodon] [http://irina5009189.idilis.ro/estate-morgan/ estate morgan real william] [http://irina5009189.idilis.ro/abc-home/ abc home kid schooling] [http://irina5009189.idilis.ro/silk-wedding/ silk wedding flowers] [http://ann-eva.idilis.ro/web/autocad-.html autocad 2004 free download] [http://irina5009189.idilis.ro/virtual-servers/ virtual servers] [http://shurrikk.idilis.ro/web/roosevelts-new.html roosevelts new deals] [http://shurrikk.idilis.ro/web/femdom-porn.html femdom porn] [http://lisonka-91.idilis.ro/diet-nv/ diet nv pill] [http://lisonka-91.idilis.ro/pet-smart/ pet smart] [http://lisonka-91.idilis.ro/sweet-blue/ sweet blue days mp3] [http://shurrikk.idilis.ro/web/news-panama.html news panama city] [http://ann-eva.idilis.ro/web/anal-movie.html anal movie] [http://shurrikk.idilis.ro/web/verizon-wireless.html verizon wireless] [http://irina5009189.idilis.ro/pictures-of/ pictures of tattoos on top of feet] [http://shurrikk.idilis.ro/web/mtv-ringtone.html mtv ringtone] [http://shurrikk.idilis.ro/web/video-paris.html video paris hilton] [http://ronald180.idilis.ro/library/kidney-beans/ kidney beans nutrition info] [http://irina5009189.idilis.ro/penn-station/ penn station in ny] [http://shurrikk.idilis.ro/web/vytorin.html vytorin] [http://lisonka-91.idilis.ro/video-codec/ video codec download] [http://irina5009189.idilis.ro/intercontinental-grand/ intercontinental grand] [http://ronald180.idilis.ro/library/porn-gallery/ porn gallery] [http://shurrikk.idilis.ro/web/nuclear-energy.html nuclear energy time line] [http://ronald180.idilis.ro/library/student-select/ student select insurance] [http://ronald180.idilis.ro/library/business-insurance/ business insurance] [http://ann-eva.idilis.ro/web/angeles-california.html angeles california county los park southern] [http://ronald180.idilis.ro/library/grill-parts/ grill parts] [http://shurrikk.idilis.ro/web/medrol.html medrol] [http://ronald180.idilis.ro/library/add-link/ add link regimens treatment] [http://shurrikk.idilis.ro/web/scion-toyota.html scion toyota] [http://ann-eva.idilis.ro/web/schumacher-fabric.html schumacher fabric] [http://lisonka-91.idilis.ro/virtual-make/ virtual make over sites] [http://shurrikk.idilis.ro/web/the-christies.html the christies] [http://shurrikk.idilis.ro/web/missouri-construction.html missouri construction jobs] [http://irina5009189.idilis.ro/magic-the/ magic the gathering card image] [http://irina5009189.idilis.ro/quit-smoking/ quit smoking laser therapy] [http://ann-eva.idilis.ro/web/trojan-remover.html trojan remover] [http://irina5009189.idilis.ro/vivica-fox/ vivica fox] [http://irina5009189.idilis.ro/toon-porn/ toon porn] [http://ann-eva.idilis.ro/web/earn-money.html earn money] [http://ann-eva.idilis.ro/web/jacob-co.html jacob co replica watch] [http://irina5009189.idilis.ro/manga-girls/ manga girls] [http://lisonka-91.idilis.ro/teen-fucking/ teen fucking] [http://irina5009189.idilis.ro/microsoft-project/ microsoft project viewer downloads] [http://ronald180.idilis.ro/library/ebaums-world/ ebaums world] [http://irina5009189.idilis.ro/miguel-campos/ miguel campos] [http://lisonka-91.idilis.ro/porn-cartoons/ porn cartoons] [http://ronald180.idilis.ro/library/within-temptation/ within temptation music videos] [http://irina5009189.idilis.ro/sweet-asian/ sweet asian girls] [http://shurrikk.idilis.ro/web/recreational.html recreational] [http://ronald180.idilis.ro/library/jeep-wrangler/ jeep wrangler rubicon] [http://lisonka-91.idilis.ro/adderall-side/ adderall side effects] [http://shurrikk.idilis.ro/web/minimum-tax.html minimum tax] [http://ronald180.idilis.ro/library/hard-rock/ hard rock] [http://lisonka-91.idilis.ro/ethnography-conference/ ethnography conference] [http://lisonka-91.idilis.ro/morning-after/ morning after pill washington] [http://shurrikk.idilis.ro/web/royal-shakespeare.html royal shakespeare company] [http://shurrikk.idilis.ro/web/prescription-drugs.html prescription drugs dictionary] [http://ronald180.idilis.ro/library/penile-augmentation/ penile augmentation] [http://irina5009189.idilis.ro/arkansas-fall/ arkansas fall colors] [http://shurrikk.idilis.ro/web/arcade-games.html arcade games] [http://ann-eva.idilis.ro/web/industrial-inmobiliario.html industrial inmobiliario portal] [http://irina5009189.idilis.ro/learn-forex/ learn forex trading best currency exchange rate] [http://ronald180.idilis.ro/library/alternative-treatment/ alternative treatment to knee replacement] [http://irina5009189.idilis.ro/orgy-parties/ orgy parties] [http://irina5009189.idilis.ro/jigsaw-puzzles/ jigsaw puzzles] [http://lisonka-91.idilis.ro/lawyers-title/ lawyers title ins] [http://irina5009189.idilis.ro/shay-sweet/ shay sweet sex] [http://shurrikk.idilis.ro/web/kid-snow.html kid snow] [http://ann-eva.idilis.ro/web/boost-mobile.html boost mobile prepaid cell phone] [http://lisonka-91.idilis.ro/saint-david/ saint david of wales] [http://irina5009189.idilis.ro/kitchen-unit/ kitchen unit dimensions] [http://ronald180.idilis.ro/library/goji-juice/ goji juice] [http://shurrikk.idilis.ro/web/tegretol.html tegretol] [http://ann-eva.idilis.ro/web/steel-building.html steel building florida] [http://irina5009189.idilis.ro/male-breast/ male breast reduction photos] [http://lisonka-91.idilis.ro/chevy-truck/ chevy truck parts] [http://irina5009189.idilis.ro/sampling-bias/ sampling bias] [http://lisonka-91.idilis.ro/she-wants/ she wants to move mp3] [http://ann-eva.idilis.ro/web/cabinet.html cabinet] [http://irina5009189.idilis.ro/riverside-ca/ riverside ca realtors] [http://lisonka-91.idilis.ro/kosmetik-video/ kosmetik video] [http://lisonka-91.idilis.ro/students-pearsoned/ students pearsoned] [http://lisonka-91.idilis.ro/copeland-compressor/ copeland compressor] [http://ronald180.idilis.ro/library/free-bearshare/ free bearshare download] [http://lisonka-91.idilis.ro/inflamatory-bowel/ inflamatory bowel diseases] [http://lisonka-91.idilis.ro/invention-new/ invention new technological] [http://ann-eva.idilis.ro/web/-michigan.html 1997 michigan football] [http://lisonka-91.idilis.ro/fta-receivers/ fta receivers] [http://ronald180.idilis.ro/library/bigbreast-lovers/ bigbreast lovers] [http://irina5009189.idilis.ro/apex/ apex 32] [http://ann-eva.idilis.ro/web/illinois-outstanding.html illinois outstanding warrants] [http://ann-eva.idilis.ro/web/old-porno.html old porno] [http://shurrikk.idilis.ro/web/size-.html size 10 is fat] [http://ronald180.idilis.ro/library/light-fantastic/ light fantastic let there be light] [http://ronald180.idilis.ro/library/long-celebrity/ long celebrity hair style picture] [http://shurrikk.idilis.ro/web/ramstein-soundtrack.html ramstein soundtrack] [http://ann-eva.idilis.ro/web/us-president.html us president day] [http://ann-eva.idilis.ro/web/hot-cartoons.html hot cartoons] [http://ann-eva.idilis.ro/web/citibank-credit.html citibank credit card] [http://ann-eva.idilis.ro/web/in-between.html in between dreams leaked] [http://lisonka-91.idilis.ro/united-arab/ united arab emirates airline] [http://ann-eva.idilis.ro/web/entrar-en.html entrar en el] [http://ann-eva.idilis.ro/web/driving-map.html driving map] [http://shurrikk.idilis.ro/web/porns.html porns] [http://ann-eva.idilis.ro/web/hair-dryer.html hair dryer] [http://shurrikk.idilis.ro/web/black-woman.html black woman sex] [http://ronald180.idilis.ro/library/leader-health/ leader health and fitness york pa] [http://shurrikk.idilis.ro/web/navia.html navia] [http://ronald180.idilis.ro/library/pontoon-boats/ pontoon boats] [http://irina5009189.idilis.ro/imperial-services/ imperial services collection agency] [http://shurrikk.idilis.ro/web/christian-ringtones.html christian ringtones] [http://irina5009189.idilis.ro/installation-instructions/ installation instructions tile] [http://irina5009189.idilis.ro/mineral-supplements/ mineral supplements zinc] [http://ann-eva.idilis.ro/web/retro-hair.html retro hair products] [http://shurrikk.idilis.ro/web/msnbc-home.html msnbc home page] [http://ann-eva.idilis.ro/web/mplayer-debian.html mplayer debian apt source] [http://lisonka-91.idilis.ro/gibson-sg/ gibson sg guitars] [http://shurrikk.idilis.ro/web/tyra-banks.html tyra banks model show] [http://shurrikk.idilis.ro/web/video-porn.html video porn] [http://ronald180.idilis.ro/library/martinez-california/ martinez california real estate] [http://lisonka-91.idilis.ro/continental-airways/ continental airways] [http://lisonka-91.idilis.ro/live-dj/ live dj sets mp3] [http://irina5009189.idilis.ro/cdkey-powerdvd/ cdkey powerdvd 7] [http://ronald180.idilis.ro/library/blouse/ blouse] [http://irina5009189.idilis.ro/employee-recruitment/ employee recruitment video] [http://lisonka-91.idilis.ro/ac-drive/ ac drive europe in market report research] [http://shurrikk.idilis.ro/web/quick-fix.html quick fix loan paycheck advance] [http://shurrikk.idilis.ro/web/express-payday.html express payday loan] [http://lisonka-91.idilis.ro/diapers/ diapers] [http://ronald180.idilis.ro/library/medical-terminology/ medical terminology] [http://ann-eva.idilis.ro/web/chronoswiss-watch.html chronoswiss watch] [http://irina5009189.idilis.ro/away-message/ away message quotes] [http://shurrikk.idilis.ro/web/trim-kid.html trim kid] [http://ronald180.idilis.ro/library/asian-babes/ asian babes] [http://irina5009189.idilis.ro/wholesale-floating/ wholesale floating candle] [http://ronald180.idilis.ro/library/years-of/ years of college down the drain] [http://shurrikk.idilis.ro/web/california-colleges.html california colleges] [http://irina5009189.idilis.ro/audit-program/ audit program for employee benefit] [http://ronald180.idilis.ro/library/wheels-and/ wheels and tires] [http://irina5009189.idilis.ro/janitorial-supplies/ janitorial supplies cherry almond] [http://irina5009189.idilis.ro/credit-counselors/ credit counselors] [http://lisonka-91.idilis.ro/airport-logan/ airport logan map] [http://ann-eva.idilis.ro/web/free-forex.html free forex online training video] [http://shurrikk.idilis.ro/web/ken-mar.html ken mar] [http://ronald180.idilis.ro/library/mini-choppers/ mini choppers] [http://ann-eva.idilis.ro/web/i-heard.html i heard em say lyrics] [http://shurrikk.idilis.ro/web/simpson.html simpson] [http://shurrikk.idilis.ro/web/international-calling.html international calling card] [http://ann-eva.idilis.ro/web/lay-down.html lay down with me tell me no lies lyrics] == Part 7 - Miscellaneous ==
| | {{TOCright}} |
| <p><em>Mostly internal stuff. Some good for everyone, some only for ASH wizards.</em></p>
| | == Chat Functions == |
| | {{Flink|void|chat_clan|string}} |
| | {{Flink|void|chat_clan|string|string|desc=Sends a message to clan chat.}} |
| | {{Flink|void|chat_macro|string|desc=Submits a chat macro to KoL.}} |
| | {{Flink|void|chat_notify|string|string|desc=Sends a notification to the player's own chat.}} |
| | {{Flink|void|chat_private|string|string|desc=Sends a private message to another player.}} |
| | {{Flink|boolean|is_online|string|desc=Check to see if a player is online.}} |
| | {{Flink|boolean [string]|who_clan|desc=Returns a list of whom is in your clan and if they are in chat.}} |
| | {{Flink|boolean|can_faxbot|monster|desc=Check to see if a monster can be faxed.}} |
| | {{Flink|boolean|faxbot|monster|desc=Attempts to receive a fax of a given monster.}} |
|
| |
|
| <p><strong>void print( string output )</strong><br />
| | == Debugging Functions == |
| <strong>void print( string output, string color )</strong><br />
| | {{Flink|void|disable|string|desc=Disables the specified function.}} |
| Prints <i>output</i> to the CLI buffer and displays it in the status line of the main Adventuring window. If <i>color</i> is specified any HTML in <i>output</i> is escaped and the string is wrapped in a font tag before being printed.</p>
| | {{Flink|void|enable|string|desc=Enables the specified function.}} |
| | {{Flink|buffer|load_html|string|desc=Works like visit_url(), but for debugging.}} |
| | {{Flink|string|make_url|string|boolean|boolean|desc=Crafts the URL to visit.}} |
|
| |
|
| <p><strong>boolean cli_execute( string command )</strong><br />
| | == File Input/Output Functions == |
| Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you
| | {{FunctionEmbed|buffer_to_file|format=signature|desc=yes}} |
| | {{FunctionEmbed|file_to_array|format=signature|desc=yes}} |
| | {{FunctionEmbed|file_to_buffer|format=signature|desc=yes}} |
| | {{Flink|boolean|file_to_map|string|aggregate|desc=Loads a map from a tab-delimited text file.}} |
| | {{Flink|boolean|map_to_file|aggregate|string|desc=Saves a map to a tab-delimited text file.}} |
| | |
| | == gCLI Command Functions == |
| | {{FunctionEmbed|cli_execute|format=signature|desc=yes}} |
| | {{FunctionEmbed|cli_execute_output|format=signature|desc=yes}} |
| | |
| | == Map Management Functions == |
| | ''Note: Information about maps (including creating, assigning, and removing keys, can be found at [[Data Structures#Maps|Map Data Structures]].'' |
| | |
| | {{Flink|int|count|aggregate|desc=Returns the number of defined keys for the specified aggregate.}} |
| | {{Flink|void|clear|aggregate|desc=Removes all keys from the specified aggregate.}} |
| | |
| | == Time Functions == |
| | {{Flink|string|format_date_time|string|string|string|desc=Reformats dates.}} |
| | {{Flink|int|gameday_to_int|desc=Returns the current KoL date as an integer.}} |
| | {{Flink|string|gameday_to_string|desc=Returns the current KoL date as a string.}} |
| | {{Flink|int|gametime_to_int|desc=Returns the current KoL time in ms as an integer.}} |
| | {{Flink|string|now_to_string|string|desc=Returns current local time/date in SimpleDateFormat format.}} |
| | {{Flink|string|time_to_string|desc=Returns the current local time in HH:mm:ss z format.}} |
| | {{Flink|string|today_to_string|desc=Returns the current local day in ISO format.}} |
| | |
| | == SVN Functions == |
| | ''There is much additional information in the [[SVN Primer]]''. |
| | {{Flink|boolean|svn_exists|string|desc=Returns true if a valid working copy named projectname exists in the svn/ folder.}} |
| | {{Flink|boolean|svn_at_head|string|desc=Returns true if projectname exists, is a valid working copy, and is currently at the same revision number as the repository.}} |
| | {{Flink|record|svn_info|string|desc=Returns a record containing additional information about the given projectname: svnurl, last author, last revision, last change date.}} |
| | |
| | == User Interaction == |
| | {{Flink|void|print|string|{{opt|string}}|desc=Prints to CLI and status line of Adventuring window, optionally in a specified color.}} |
| | {{Flink|void|print_html|string|desc=Prints to CLI, parsing any included html.}} |
| | {{Flink|void|logprint|string|desc=Prints to the session log.}} |
| | {{Flink|void|wait|int}} |
| | {{Flink|void|waitq|int|desc=Sleeps for the specified number of seconds.}} |
| | {{Flink|boolean|user_confirm|string|desc=Allows user input in Y/N format.}} |
| | |
| | == Property Functions == |
| | {{Flink|boolean [string]|get_all_properties|string|boolean|desc=Returns a map of all user or global properties.}} |
| | {{FunctionEmbed|property_exists|format=signature|desc=yes}} |
| | {{FunctionEmbed|property_has_default|format=signature|desc=yes}} |
| | {{FunctionEmbed|property_default_value|format=signature|desc=yes}} |
| | {{Flink|string|get_property|string}} |
| | {{Flink|string|get_property|string|boolean|desc=Gets a global or user preference as appropriate.}} |
| | {{Flink|void|set_property|string|string|desc=Sets a global or user preference as appropriate.}} |
| | {{FunctionEmbed|remove_property|format=signature|desc=yes}} |
| | {{FunctionEmbed|rename_property|format=signature|desc=yes}} |
| | |
| | == Other Functions == |
| | {{FunctionEmbed|abort|format=signature|desc=yes}} |
| | {{FunctionEmbed|all_monsters_with_id|format=signature|desc=yes}} |
| | {{Flink|void|batch_open|desc=Used to mark the beginning of a block of functions to operate in batch mode (see page for {{f|batch_close}} for details).}} |
| | {{Flink|boolean|batch_close|desc=Used to mark the end of a block of functions to operate in batch mode (see page for details).}} |
| | {{Flink|int|get_revision|desc=Returns the current KoLmafia revision number.}} |
| | {{Flink|string|get_version|desc=Returns the most recent KoLmafia version.}} |
| | {{Flink|string|get_player_id|string|desc=Returns the user id number of a given player.}} |
| | {{FunctionEmbed|is_dark_mode|format=signature|desc=yes}} |
| | {{Flink|string|to_json|aggregate|desc=Converts a simple aggregate into JSON.}} |
| | |
| | Additional functions that are considered not really to be ash functions are available in [[Miscellaneous ASH Features#Special Syntax Functions|Misc ASH Features]] |
| | |
| | [[Category:Scripting]] |
Chat Functions
void chat_clan( string )
void chat_clan( string, string )
Sends a message to clan chat.
void chat_macro( string )
Submits a chat macro to KoL.
void chat_notify( string, string )
Sends a notification to the player's own chat.
void chat_private( string, string )
Sends a private message to another player.
boolean is_online( string )
Check to see if a player is online.
boolean [string] who_clan()
Returns a list of whom is in your clan and if they are in chat.
boolean can_faxbot( monster )
Check to see if a monster can be faxed.
boolean faxbot( monster )
Attempts to receive a fax of a given monster.
Debugging Functions
void disable( string )
Disables the specified function.
void enable( string )
Enables the specified function.
buffer load_html( string )
Works like visit_url(), but for debugging.
string make_url( string, boolean, boolean )
Crafts the URL to visit.
File Input/Output Functions
boolean buffer_to_file( buffer, string )
- Saves a buffer to a text file. Returns
true
on success, false
on failure.
string [int] file_to_array( string )
- Reads data from a text file and returns a map of strings containing each line.
buffer file_to_buffer( string )
- Loads the entire contents of a text file into a buffer.
boolean file_to_map( string, aggregate )
Loads a map from a tab-delimited text file.
boolean map_to_file( aggregate, string )
Saves a map to a tab-delimited text file.
gCLI Command Functions
boolean cli_execute( string )
- Executes a string as a gCLI command. Returns
true
on success, false
on failure.
string cli_execute_output( string )
- Executes a gCLI command, capturing and returning the gCLI output.
Map Management Functions
Note: Information about maps (including creating, assigning, and removing keys, can be found at Map Data Structures.
int count( aggregate )
Returns the number of defined keys for the specified aggregate.
void clear( aggregate )
Removes all keys from the specified aggregate.
Time Functions
string format_date_time( string, string, string )
Reformats dates.
int gameday_to_int()
Returns the current KoL date as an integer.
string gameday_to_string()
Returns the current KoL date as a string.
int gametime_to_int()
Returns the current KoL time in ms as an integer.
string now_to_string( string )
Returns current local time/date in SimpleDateFormat format.
string time_to_string()
Returns the current local time in HH:mm:ss z format.
string today_to_string()
Returns the current local day in ISO format.
SVN Functions
There is much additional information in the SVN Primer.
boolean svn_exists( string )
Returns true if a valid working copy named projectname exists in the svn/ folder.
boolean svn_at_head( string )
Returns true if projectname exists, is a valid working copy, and is currently at the same revision number as the repository.
record svn_info( string )
Returns a record containing additional information about the given projectname: svnurl, last author, last revision, last change date.
User Interaction
void print( string, [string] )
Prints to CLI and status line of Adventuring window, optionally in a specified color.
void print_html( string )
Prints to CLI, parsing any included html.
void logprint( string )
Prints to the session log.
void wait( int )
void waitq( int )
Sleeps for the specified number of seconds.
boolean user_confirm( string )
Allows user input in Y/N format.
Property Functions
boolean [string] get_all_properties( string, boolean )
Returns a map of all user or global properties.
boolean property_exists( string, boolean? )
- Checks whether a property exists.
boolean property_has_default( string )
- Checks if a property has a built-in default value.
string property_default_value( string )
- Returns the default value of a property, or an empty string if a default value does not exist.
string get_property( string )
string get_property( string, boolean )
Gets a global or user preference as appropriate.
void set_property( string, string )
Sets a global or user preference as appropriate.
string remove_property( string, boolean? )
- Removes or resets a property and returns its previous value.
boolean rename_property( string, string )
- Renames a property. Returns
true
on success, false
on failure.
Other Functions
void abort( string? )
- Immediately halts the current script and all queued functions.
boolean [monster] all_monsters_with_id()
- Returns a map of all monsters that have a non-zero monster ID.
void batch_open()
Used to mark the beginning of a block of functions to operate in batch mode (see page for
batch_close()
for details).
boolean batch_close()
Used to mark the end of a block of functions to operate in batch mode (see page for details).
int get_revision()
Returns the current KoLmafia revision number.
string get_version()
Returns the most recent KoLmafia version.
string get_player_id( string )
Returns the user id number of a given player.
boolean is_dark_mode()
- Checks if the current KoLmafia theme is dark mode.
string to_json( aggregate )
Converts a simple aggregate into JSON.
Additional functions that are considered not really to be ash functions are available in Misc ASH Features