|
|
(136 intermediate revisions by 64 users not shown) |
Line 1: |
Line 1: |
| [http://www.electrodrome.net/modules/Forums/cache/images/js/wuksls.html Numismatica italiana] [http://www.bhdstats.foxspecialops.com/maps/images/js/fuigae.html L esorcista it] [http://www.futurenuke.com/games/images/js/xxwghf.html Rosarossacom] [http://www.sicman.org/components/images/js/vhngxs.html Hotel dell ancora villasimius] [http://www.grammateas.gr/gr/language/lang_english/images/js/efjrwg.html Guzzini] [http://www.sibernews.com/cache/images/js/nfbmml.html Hotel gabbiano] [http://www.electrodrome.net/modules/Forums/cache/images/js/sqsjfo.html Proteina c reattiva] [http://www.imminent-threat.com/files/images/js/fhdpff.html Comprare dominio internet] [http://www.bhdstats.foxspecialops.com/maps/images/js/mhjffk.html Mature in calore] [http://www.bhdstats.foxspecialops.com/maps/images/js/ttpiba.html Stanza singola affitto milano] [http://www.grammateas.gr/gr/language/lang_english/images/js/duagjs.html Arcuri nuda] [http://www.grammateas.gr/gr/language/lang_english/images/js/lrggvf.html Video esorcismo] [http://www.bhdstats.foxspecialops.com/maps/images/js/bgmfau.html Link www spritz it] [http://www.bhdstats.foxspecialops.com/maps/images/js/huvfxb.html Parigi ristorante] [http://www.sibernews.com/cache/images/js/bkfget.html Transesuali] [http://www.imminent-threat.com/files/images/js/oeavwa.html Gogol street riga] [http://www.sibernews.com/cache/images/js/aeqnni.html Bocchino] [http://www.sibernews.com/cache/images/js/stqrjb.html Video gratis troie] [http://www.electrodrome.net/modules/Forums/cache/images/js/cubfsu.html Martina stella foto] [http://www.electrodrome.net/modules/Forums/cache/images/js/eirauj.html Idroponica] [http://www.sibernews.com/cache/images/js/epqqtf.html Feltrinelli] [http://www.sibernews.com/cache/images/js/ordkoe.html Agopuntura] [http://www.electrodrome.net/modules/Forums/cache/images/js/plbrjl.html Lettore dvd portatile] [http://www.electrodrome.net/modules/Forums/cache/images/js/ocvdda.html W mappy com] [http://www.sibernews.com/cache/images/js/alilgh.html Prenotazione albergo bergamo] [http://www.sibernews.com/cache/images/js/kveuts.html Pucca] [http://www.electrodrome.net/modules/Forums/cache/images/js/swctgr.html Foto mature] [http://www.futurenuke.com/games/images/js/mpofkl.html Oldgallina] [http://www.bhdstats.foxspecialops.com/maps/images/js/fiioae.html simpsons xxx] [http://www.futurenuke.com/games/images/js/kjxrki.html Portafoto] [http://www.sibernews.com/cache/images/js/mshdsm.html Free video sex] [http://www.electrodrome.net/modules/Forums/cache/images/js/scdtjh.html Mandare sms cellulare] [http://www.sibernews.com/cache/images/js/ufabeu.html troie a pagamento] [http://www.electrodrome.net/modules/Forums/cache/images/js/etdhvb.html Ccleaner download] [http://www.futurenuke.com/games/images/js/fswcss.html Mouse ottico wireless] [http://www.imminent-threat.com/files/images/js/cqfuqn.html Assitalia] [http://www.sibernews.com/cache/images/js/ngoeiq.html Donne vogliose video] [http://www.futurenuke.com/games/images/js/mgopra.html Foto annuncio] [http://www.grammateas.gr/gr/language/lang_english/images/js/isuabi.html Mogli puttane] [http://www.sibernews.com/cache/images/js/peponb.html Crociera egitto] [http://www.electrodrome.net/modules/Forums/cache/images/js/eiocwq.html Scienza nutrizione] [http://www.rapidairsoft.hu/components/images/js/pkqojp.html Info 412] [http://www.sibernews.com/cache/images/js/eceinj.html Casalinghe pelose] [http://www.bhdstats.foxspecialops.com/maps/images/js/sifemd.html Vesti le barbie] [http://www.futurenuke.com/games/images/js/reuamu.html Rulliere] [http://www.sibernews.com/cache/images/js/lxrxnm.html Scoiattolo pescasseroli euro2000] [http://www.bhdstats.foxspecialops.com/maps/images/js/scsfvi.html Paperino paperina neve] [http://www.aka-execution.com/modules/Forums/cache/images/js/gfdbre.html Registrazione telepass it] [http://www.aka-execution.com/modules/Forums/cache/images/js/whadqn.html Screensaver kelly clarkson] [http://www.aka-execution.com/modules/Forums/cache/images/js/rattol.html Tende arredo casa] [http://www.aka-execution.com/modules/Forums/cache/images/js/fdgaue.html Vasco rossiit] [http://www.grammateas.gr/gr/language/lang_english/images/js/pjcqhd.html Suoneria cellulare loghi] [http://www.grammateas.gr/gr/language/lang_english/images/js/mmievl.html Bruce springsteen] [http://www.electrodrome.net/modules/Forums/cache/images/js/xhugdt.html Teorematour it] [http://www.sibernews.com/cache/images/js/jbxhoh.html Prenotazione albergo cesenatico] [http://www.sibernews.com/cache/images/js/qoundq.html High heel shoes] [http://www.futurenuke.com/games/images/js/bktliq.html Sfondi pasqua] [http://www.electrodrome.net/modules/Forums/cache/images/js/egbjaq.html Euronova] [http://www.sibernews.com/cache/images/js/txfqpg.html Cazzi neri grossi] [http://www.futurenuke.com/games/images/js/krorxi.html Troie sexy] [http://www.bhdstats.foxspecialops.com/maps/images/js/okjfpv.html Via francigena] [http://www.grammateas.gr/gr/language/lang_english/images/js/ekfntr.html Tracy lord] [http://www.aka-execution.com/modules/Forums/cache/images/js/xomclt.html Composizione busta paga] [http://www.sibernews.com/cache/images/js/eevmph.html Stampante fotocopiatrice] [http://www.bhdstats.foxspecialops.com/maps/images/js/psffvr.html Figa umida] [http://www.sibernews.com/cache/images/js/timeqm.html Video cartoni animati porno gratis] [http://www.rapidairsoft.hu/components/images/js/jtcfos.html 3gp porno] [http://www.futurenuke.com/games/images/js/oofbvh.html Clipart donne] [http://www.sibernews.com/cache/images/js/eotguw.html Colosseo souvenir] [http://www.bhdstats.foxspecialops.com/maps/images/js/oxgoba.html Alicia rhodes blow job] [http://www.electrodrome.net/modules/Forums/cache/images/js/wnvcte.html Banco di brescia it] [http://www.rapidairsoft.hu/components/images/js/bjcpme.html Fotomontaggi nude famose] [http://www.sibernews.com/cache/images/js/qbcubl.html Www vecchie sfondate com] [http://www.electrodrome.net/modules/Forums/cache/images/js/rbxmni.html Brittany andrews feet] [http://www.sibernews.com/cache/images/js/usvhao.html Christina model 2 vids] [http://www.bhdstats.foxspecialops.com/maps/images/js/igabcx.html Lubecca ristorante] [http://www.grammateas.gr/gr/language/lang_english/images/js/sslshe.html Sandra shine] [http://www.electrodrome.net/modules/Forums/cache/images/js/owjjtq.html Unige] [http://www.electrodrome.net/modules/Forums/cache/images/js/pjfgcg.html Gemelle glitter] [http://www.grammateas.gr/gr/language/lang_english/images/js/iirrab.html Linsey dawn] [http://www.sibernews.com/cache/images/js/wvgodg.html Vesti bratz] [http://www.grammateas.gr/gr/language/lang_english/images/js/hcfpmt.html Osho] [http://www.sibernews.com/cache/images/js/qfwxlb.html Troie africane] [http://www.aka-execution.com/modules/Forums/cache/images/js/dadxue.html Voy voyeurweb] [http://www.grammateas.gr/gr/language/lang_english/images/js/noqgga.html Offerta amsterdam] [http://www.rapidairsoft.hu/components/images/js/ubpqii.html Tarocchi futuro] [http://www.grammateas.gr/gr/language/lang_english/images/js/dssrxj.html Implantologia] [http://www.electrodrome.net/modules/Forums/cache/images/js/qskcjj.html La carriola pirandello] [http://www.electrodrome.net/modules/Forums/cache/images/js/awwsqo.html Sesso omosex] [http://www.sibernews.com/cache/images/js/stqupu.html Webcam livigno] [http://www.futurenuke.com/games/images/js/gejoto.html Pink pornstars] [http://www.electrodrome.net/modules/Forums/cache/images/js/gmwten.html Loghi suoneria sms] [http://www.grammateas.gr/gr/language/lang_english/images/js/bwkrnw.html Frigorifero smeg] [http://www.futurenuke.com/games/images/js/ubatxo.html Trapunta] [http://www.futurenuke.com/games/images/js/qorugr.html Foto massaggi gay] [http://www.electrodrome.net/modules/Forums/cache/images/js/oqklfl.html Albergo milano marittima] [http://www.bhdstats.foxspecialops.com/maps/images/js/tjlwbw.html Upskirt in tv] [http://www.bhdstats.foxspecialops.com/maps/images/js/smektx.html Nylon mature] [http://www.futurenuke.com/games/images/js/gltqsw.html Nocera inferiore] [http://www.grammateas.gr/gr/language/lang_english/images/js/mjdvhn.html Troie inculate] [http://crazycoins.frowns.cn/ crazy coins] [http://thomson20lcdb03b.bawds.cn/ thomson 20lcdb03b] [http://sennheiserdj.napes.cn/ sennheiser dj] [http://usb2hub.pahes.cn/ usb2 hub] [http://frankblack.pahes.cn/ frank black] [http://maxco.fewest.cn/ max co] [http://wwwimotskihr.bawds.cn/ www imotski hr] [http://twoswing.fewest.cn/ two swing] [http://cihat.napes.cn/ cihat] [http://wa.fewest.cn/ wa] [http://videodragonball.fewest.cn/ Video dragonball xxx] [http://shawnna.pahes.cn/ shawnna] [http://dowloaddriver.frowns.cn/ dowload driver] [http://pornofree.napes.cn/ porno free] [http://fewest.cn/index3_1333.html site] [http://sunset.napes.cn/ sunset] [http://bawds.cn/ bawds.cn] [http://routerwireless.pahes.cn/ router wireless 125 mbps] [http://napes.cn/ napes.cn] [http://softcamyankse.bawds.cn/ softcam yankse] [http://nadatopcagic.pahes.cn/ nada topcagic] [http://longcock.pahes.cn/ long cock] [http://dirtydaisypicture.napes.cn/ Dirty daisy picture] [http://dvdyakumo.fewest.cn/ dvd yakumo] [http://deathfoto.fewest.cn/ death foto] [http://yangchow.bawds.cn/ yangchow] [http://theatresdesvampires.napes.cn/ theatres des vampires] [http://tweetytravel.napes.cn/ Tweety travel] [http://volvos80d5.frowns.cn/ volvo s80 d5] [http://obninsk.napes.cn/ obninsk] [http://m40x263.bawds.cn/ m40x 263] [http://francadventure.bawds.cn/ franc adventure] [http://tvr550.pahes.cn/ tvr 550] [http://fishhungry.fewest.cn/ fish hungry] [http://x850xtpci.fewest.cn/ x850xt pci] [http://sveden.pahes.cn/ sveden] [http://dontmakemepay.bawds.cn/ don t make me pay] [http://juliesverne.fewest.cn/ julies verne] [http://navigon5.bawds.cn/ navigon 5] [http://s3500fujifilm.bawds.cn/ s3500 fujifilm] [http://expo.fewest.cn/ expo] [http://dvdexpresscopy.pahes.cn/ dvd express copy gold download] [http://webpages.frowns.cn/ web pages] [http://jble60.pahes.cn/ jbl e60] [http://raybanshooter.frowns.cn/ ray ban shooter] [http://sexycam.napes.cn/ sexycam] [http://ioamote.pahes.cn/ io amo te] [http://velingrad.bawds.cn/ velingrad] [http://txtvbox.napes.cn/ tx tvbox] [http://fredvargas.bawds.cn/ fred vargas] [http://dota.fewest.cn/ dota] [http://treband.napes.cn/ tre band] [http://marronsfive.napes.cn/ marrons five] [http://numerowind.pahes.cn/ numero wind] [http://figters.pahes.cn/ figters] [http://kkeys.pahes.cn/ k keys] [http://babyeyes.bawds.cn/ baby eyes] [http://rexrd83v.fewest.cn/ rex rd 83 v] [http://sonyvcl.fewest.cn/ sony vcl] [http://lucemango.pahes.cn/ luce mango] [http://winningeleven8.pahes.cn/ winning eleven8] [http://clubsexyxxx.fewest.cn/ club sexy xxx] [http://sonyvaioa417s.napes.cn/ sony vaio a417s] [http://gogol.frowns.cn/ gogol] [http://officexpnoproblem.pahes.cn/ office xp no problem] [http://nuuk.bawds.cn/ nuuk] [http://vank.napes.cn/ vank] [http://wwwgtasanandreas.napes.cn/ www gta san andreas] [http://klimt.frowns.cn/ klimt] [http://spalla.napes.cn/ spalla] [http://cernobbio.fewest.cn/ Cernobbio] [http://scarpauomo.pahes.cn/ scarpa uomo] [http://somma.frowns.cn/ somma] [http://outlookexpress.pahes.cn/ outlookexpress sms] [http://covercdthelordof.fewest.cn/ cover cd the lord of the ring] [http://jbl600.napes.cn/ jbl 600] [http://nba.bawds.cn/ n b a] [http://xnxxnet.fewest.cn/ Xnxx net] [http://napes.cn/index6_1333.html page] [http://leanbackterror.napes.cn/ lean back terror squad] [http://paintinblack.pahes.cn/ paint in black] [http://fewest.cn/index3_1333.html site] [http://tvsonylcd32.pahes.cn/ tv sony lcd 32] [http://penth.frowns.cn/ penth] [http://olympusc150.frowns.cn/ olympus c 150] [http://ohboytext.bawds.cn/ oh boy text] [http://pahes.cn/index4_2500.html home] [http://asus3000.bawds.cn/ asus 3000] [http://istds.pahes.cn/ ist ds] [http://nccp.fewest.cn/ nccp] [http://fewest.cn/index9_500.html home] [http://leos.pahes.cn/ leos] [http://drivev220.bawds.cn/ drive v220] [http://d3d4.fewest.cn/ d3d4] [http://safin.frowns.cn/ safin] [http://thaila.bawds.cn/ thaila] [http://maisquenada.bawds.cn/ mais que nada] [http://rengafrancesco.pahes.cn/ renga francesco] [http://tommyafter.napes.cn/ tommy after] [http://bawds.cn/ bawds.cn] == 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