|
|
(194 intermediate revisions by more than 100 users not shown) |
Line 1: |
Line 1: |
| [http://mojelizatko.wz.cz/source/language_text/wdbpvn.html Altro consumo] [http://radioherz.com/Library/_notes/acwblg.html Vecchie troie pompinare] [http://higginscohn.com/picture_library/iudhkd.html Foto amatoriali porno] [http://500hats.net/songs/gvhekf.html Celebrita italiane] [http://www.mimdizayn.com/merkez/images/ceerds.html Design polimi] [http://www.windjammer-landing.com/old/weddings/dnnptw.html Porno veramente gratis] [http://appony.com/urlaalex/uaeplg.html Tamagotchi europe] [http://appony.com/urlaalex/vahnbf.html Dislessia] [http://www.lightcut.ru/de/content/cache/tqtwrp.html Acquario oroscopo giorno] [http://higginscohn.com/picture_library/cteldh.html Video hentai lamu] [http://gardenstylebydesign.com/Templates/hnbqra.html Cayman isole] [http://www.ebrulimobilya.com/picture_library/betqjb.html Rdb] [http://www.mimdizayn.com/merkez/images/qkafht.html Un mondo di donnine] [http://radioherz.com/Library/_notes/prqgwp.html Abiti cerimoniali da ragazza] [http://www.mimdizayn.com/merkez/images/soflig.html Gravina in puglia] [http://www.mils.co.yu/strane/qvlesm.html Foto figa nera] [http://gardenstylebydesign.com/Templates/prguho.html Ermafrodita foto] [http://www.mils.co.yu/strane/ndmdle.html Hotel finale ligure] [http://radioherz.com/Library/_notes/toihei.html Www le iene it] [http://www.fuarkent.com.tr/picture_library/taabrg.html Prestito treviso] [http://www.akcasar.net/images/nrsknu.html Tatuaggio delfino] [http://www.lightcut.ru/de/content/cache/tpeojn.html Foto emma watson nuda] [http://jesper-holm.dk/GeneratedItems/thetwr.html Interesse bancario] [http://suncom.uz/picture_library/oauuhd.html Campeggio italia] [http://www.mezarci.net/images/rowger.html Silver rings] [http://www.1956memorial.com/test/ofpbds.html Diciottenni troie] [http://www.tffhgdkayseri.org.tr/picture_library/ophxna.html Villa and affitto casa vacanza] [http://www.tffhgdkayseri.org.tr/picture_library/xjxnpd.html Tablature basso 883] [http://jtcmed.com/zaya/mmjffm.html Porno animali gratis] [http://www.mils.co.yu/strane/hxubtl.html Troie puttane gratis] [http://www.mezarci.net/images/hnoidn.html Prefisso] [http://500hats.net/songs/onnxkp.html James blunt tribute band] [http://jtcmed.com/zaya/kglrld.html Vendita pc portatile] [http://windsor-edmonton.com/plywood_images/als_locks/_vti_cnf/jtxpmk.html Box prefabbricato] [http://www.mezarci.net/images/wbojid.html Littizzetto] [http://www.lightcut.ru/de/content/cache/hnosmp.html Annuncio tx escort] [http://www.akcasar.net/images/mssncs.html Giochi dress up] [http://www.hasekisigorta.com/images/jmobur.html Alberta ristorante] [http://www.just4keepers.ca/old/html/aaiosf.html Adara michaels] [http://jesper-holm.dk/GeneratedItems/dpbwnw.html Sony bmg music entertainment] [http://probeverunka.unas.cz/cache/illvdb.html Foto sexe gratis romania] [http://www.art-product.com/images/cetkice/fjulat.html Sapere it dizionario] [http://anatemasokofilm.com/zvuk/bkoqef.html Intranet informaservizi it] [http://radioherz.com/Library/_notes/uxlqud.html Prenotazione albergo colonia] [http://www.maviyesilkent.com.tr/images/ulnves.html Filmati incesti] [http://mojelizatko.wz.cz/source/language_text/upepxr.html Playhouse disney italia] [http://www.just4keepers.ca/old/html/uqvdxc.html Trunks pan hentai] [http://mojelizatko.wz.cz/source/language_text/jkrwnx.html Livejasmin com] [http://www.mimdizayn.com/merkez/images/utqaoe.html Ascolta musica italiana] [http://www.akcasar.net/images/gabgxa.html Zemanova] [http://troniny.ovh.org/temp/jbhlog.html Figc crt] [http://www.kayseriaskf.com/picture_library/msvrde.html Suoneria da scaricare] [http://windsor-edmonton.com/plywood_images/als_locks/_vti_cnf/tbkkij.html Peso perdita herbalife distributore] [http://radioherz.com/Library/_notes/ctswlb.html Elisabetta canalis hard] [http://www.tffhgdkayseri.org.tr/picture_library/regmsn.html Www caesartour it] [http://www.mils.co.yu/strane/ujhqjm.html Anemometro] [http://www.kayseriaskf.com/picture_library/hdqclo.html Vendita struzzo] [http://jtcmed.com/zaya/ujterw.html Lesbiche amatoriali] [http://www.kayseriaskf.com/picture_library/xiphgp.html Pps sex] [http://lightyearmedia.com/widgets/wimrfp.html Malaga spagna cartina] [http://www.lightcut.ru/de/content/cache/bijcro.html Appartamento estivo mikonos] [http://www.1956memorial.com/test/giagql.html Creta] [http://fmgroup.ca/blog/wp-includes/js/tinymce/utils/asdmna.html Turismo normandia] [http://uzmilana.com/pages/htmls/qentxf.html Peppesex veramente free] [http://www.hasekisigorta.com/images/dvrwto.html Testina stampante canon] [http://www.windjammer-landing.com/old/weddings/ussfws.html Trofeo berlusconi] [http://gardenstylebydesign.com/Templates/ppqqtr.html Naughtyamerica] [http://www.fuarkent.com.tr/picture_library/utrukx.html Video asiatiche] [http://www.lightcut.ru/de/content/cache/hkhdfr.html Baco seta] [http://www.fuarkent.com.tr/picture_library/doxnno.html Emule free in italiano] [http://windsor-edmonton.com/plywood_images/als_locks/_vti_cnf/rrixer.html Immagini figa] [http://radioherz.com/Library/_notes/vfgcqv.html Mutuo flessibile] [http://probeverunka.unas.cz/cache/odihgq.html Hotel foggia] [http://www.kayseriaskf.com/picture_library/rhlxcq.html Hentay sex] [http://www.windjammer-landing.com/old/weddings/pxjflx.html Arcobaleno immobile] [http://www.1956memorial.com/test/rrmjxo.html Tuning seat leon] [http://www.tffhgdkayseri.org.tr/picture_library/wwmcfn.html Katja kassin gets 2 the ass] [http://mojelizatko.wz.cz/source/language_text/wvsjmt.html Mortgage refinancing] [http://gardenstylebydesign.com/Templates/neaiqu.html Pene irritato] [http://mojelizatko.wz.cz/source/language_text/prvaig.html Goku e bulma hentai] [http://fmgroup.ca/blog/wp-includes/js/tinymce/utils/ohmucb.html Sapphic erotica mpg] [http://www.mimdizayn.com/merkez/images/dawcxw.html Il macellaio] [http://fmgroup.ca/blog/wp-includes/js/tinymce/utils/tslbxi.html Feet fetish tgp] [http://troniny.ovh.org/temp/cpahrg.html Ischia offerta hotel] [http://www.lightcut.ru/de/content/cache/okgreq.html Londra hotel] [http://www.windjammer-landing.com/old/weddings/afprsf.html Video infermiere nude] [http://uzmilana.com/pages/htmls/kgnqwa.html Upskirt lucia blini] [http://www.tffhgdkayseri.org.tr/picture_library/asqvpr.html Cartina politica della spagna] [http://fmgroup.ca/blog/wp-includes/js/tinymce/utils/amhtau.html Foto porno cinesi] [http://suncom.uz/picture_library/vxnifp.html Appunto diritto tributario] [http://www.kayseriaskf.com/picture_library/glcwwq.html Annuncio personale single] [http://radioherz.com/Library/_notes/jrvrbv.html Fermoposta incontro vicenza] [http://www.kayseriaskf.com/picture_library/gcnqcx.html Anci it] [http://www.fuarkent.com.tr/picture_library/pthbam.html Giada foglio] [http://lightyearmedia.com/widgets/ekavsb.html Porno mature gratis] [http://suncom.uz/picture_library/phjhdf.html Petardas] [http://appony.com/urlaalex/gvapgx.html Appunti statistica] [http://radioherz.com/Library/_notes/obrklh.html Fonderia] [http://500hats.net/songs/thsnwi.html Statistica fantacalcio] [http://www.kayseriaskf.com/picture_library/cbqbgc.html Attrici porno nere] [http://isbellan.freehostia.com/web/general-trading/ general trading schaub] [http://isbellan.freehostia.com/web/red-hot25/ red hot chili peppers. live at the slane castle] [http://super-ioz.freehostia.com/god-is2/ god is dj pink] [http://egocentricf.freehostia.com/rs8.htm r1100s] [http://isbellan.freehostia.com/web/pellicce-/ pellicce - abbigliamento] [http://dacrackst.freehostia.com/data/ar4/ ar 5015] [http://lazy-murrra.freehostia.com/lcd-dvd3.htm lcd dvd portatile 10] [http://renkokitom.freehostia.com/www-a15/ www a] [http://isbellan.freehostia.com/web/worh-it/ worh it] [http://tacogrrla.freehostia.com/esibizioniste-sardegna.htm esibizioniste sardegna] [http://lazy-murrra.freehostia.com/tv-philips12.htm tv philips 37 plasma] [http://renkokitom.freehostia.com/esa-retnek/ esa retnek] [http://renkokitom.freehostia.com/chromel/ chromel] [http://drakuldemona.freehostia.com/dolce-gabbana55.htm dolce gabbana bikini] [http://renkokitom.freehostia.com/fiat-coupe8/ fiat coupe 2 0 16v] [http://lazy-murrra.freehostia.com/inno-san1.htm inno san marco mp3] [http://dacrackst.freehostia.com/data/divx-gratis/ divx gratis] [http://just-whelm.freehostia.com/gioca-cucinando.htm gioca cucinando] [http://isbellan.freehostia.com/web/una-demo24/ una demo per uefa euro 2004] [http://tacogrrla.freehostia.com/lettori-vhs1.htm lettori vhs ntsc] [http://beloyara.freehostia.com/topic/cri/ cri] [http://super-ioz.freehostia.com/modem-compact/ modem compact flash] [http://tyttora.freehostia.com/text/ciao-pa/ ciao pa eros ramazzotti] [http://tyttora.freehostia.com/text/maglia-ibrahimovic/ maglia ibrahimovic] [http://isbellan.freehostia.com/web/calendari-fox/ calendari fox] [http://isbellan.freehostia.com/web/barbie-lago/ barbie lago dei cigni] [http://isbellan.freehostia.com/web/nokia-dlrp/ nokia dlr-3p] [http://isbellan.freehostia.com/web/ciuccio/ ciuccio] [http://just-whelm.freehostia.com/immobiliare-sardrgna.htm immobiliare sardrgna it] [http://drakuldemona.freehostia.com/ufo-robot2.htm ufo robot sigla remix mp3] [http://beloyara.freehostia.com/topic/mora-cinese/ mora cinese] [http://lazy-murrra.freehostia.com/trade-worlds.htm trade worlds] [http://tyttora.freehostia.com/text/video-cinque/ video cinque giorni] [http://drakuldemona.freehostia.com/www-svago.htm www svago com] [http://beloyara.freehostia.com/topic/addio-alle/ addio alle armi] [http://drakuldemona.freehostia.com/video-sesso9.htm video sesso orale] [http://egocentricf.freehostia.com/nike-shox49.htm nike shox gmb] [http://egocentricf.freehostia.com/tgcom-home.htm tgcom home page] [http://lazy-murrra.freehostia.com/darwin-geografia.htm darwin (geografia)] [http://dacrackst.freehostia.com/data/roberto-da/ roberto da crema] [http://egocentricf.freehostia.com/logitech-cordless41.htm logitech cordless desktop lx 300 usb-ps2] [http://lazy-murrra.freehostia.com/ministero-pari.htm ministero pari opportunita] [http://just-whelm.freehostia.com/prenatal-yoga.htm prenatal yoga] [http://lazy-murrra.freehostia.com/mp-acer2.htm mp3 acer lettori] [http://tacogrrla.freehostia.com/calciatori-senza.htm calciatori senza veli] [http://super-ioz.freehostia.com/monitor16/ monitor 913] [http://dacrackst.freehostia.com/data/un-frammento/ un frammento rosa] [http://lazy-murrra.freehostia.com/cartomanzia-chat.htm cartomanzia chat] [http://isbellan.freehostia.com/web/Cercasi-fidanzata1/ cercasi fidanzata] [http://isbellan.freehostia.com/web/old-and1/ old and young gay porn] [http://isbellan.freehostia.com/web/www-uss/ www uss genesis com] [http://tyttora.freehostia.com/text/pippo1/ pippo] [http://beloyara.freehostia.com/topic/cuffie-dolby1/ cuffie dolby] [http://renkokitom.freehostia.com/prolabs-high/ prolabs high protein 93] [http://dacrackst.freehostia.com/data/elton-johon/ elton johon] [http://egocentricf.freehostia.com/numeri-telefonici13.htm numeri telefonici prato] [http://super-ioz.freehostia.com/exodus/ exodus] [http://drakuldemona.freehostia.com/ford-c2.htm ford c max ghia] [http://drakuldemona.freehostia.com/cavo-video3.htm cavo video accessori sharp audio] [http://isbellan.freehostia.com/web/keisha/ keisha] [http://beloyara.freehostia.com/topic/iriver11/ iriver 790] [http://drakuldemona.freehostia.com/http2.htm http 192 168 1 1] [http://lazy-murrra.freehostia.com/lista-giochi2.htm lista giochi playstation2] [http://renkokitom.freehostia.com/serial-ata4/ serial ata hard drive] [http://tacogrrla.freehostia.com/oil-sent.htm oil sent] [http://tyttora.freehostia.com/text/sodimm-sdram3/ sodimm sdram 256] [http://lazy-murrra.freehostia.com/distruggere-i.htm distruggere i mattoncini] [http://tyttora.freehostia.com/text/www-vip2/ www vip it] [http://tacogrrla.freehostia.com/le-due11.htm le due anime di ursula] [http://drakuldemona.freehostia.com/mex-r1.htm mex r1 sony] [http://lazy-murrra.freehostia.com/le-malattie2.htm le malattie del cane] [http://super-ioz.freehostia.com/gozzo-imbarcazioni/ gozzo imbarcazioni] [http://dacrackst.freehostia.com/data/tonight-tonight/ tonight tonight] [http://isbellan.freehostia.com/web/biancheria-sexy/ biancheria sexy] [http://beloyara.freehostia.com/topic/onorato-antonio/ onorato antonio] [http://egocentricf.freehostia.com/la-guerra30.htm la guerra continua] [http://super-ioz.freehostia.com/napoli-via1/ napoli via capaldo] [http://tyttora.freehostia.com/text/il-sentiero10/ il sentiero del peccato] [http://dacrackst.freehostia.com/data/slip-dolce1/ slip dolce e gabbana donna] [http://dacrackst.freehostia.com/data/rebel-moves2/ rebel moves] [http://just-whelm.freehostia.com/strada-fosa.htm strada fosa] [http://drakuldemona.freehostia.com/bacarrat.htm bacarrat] [http://super-ioz.freehostia.com/ati-se2/ ati 9600se 128mb] [http://just-whelm.freehostia.com/la-costanza1.htm la costanza della ragione] [http://tyttora.freehostia.com/text/saint-seiya1/ saint seiya zeus] [http://isbellan.freehostia.com/web/passaggio-per/ passaggio per il nulla stephen king] [http://egocentricf.freehostia.com/disco-parade3.htm disco parade compilation estate 2004] [http://dacrackst.freehostia.com/data/prevendita-biglietti4/ prevendita biglietti] [http://drakuldemona.freehostia.com/rotem.htm rotem] [http://renkokitom.freehostia.com/sfondo-canalis/ sfondo canalis] [http://dacrackst.freehostia.com/data/chevaliers-de/ chevaliers de la table ronde,...] [http://drakuldemona.freehostia.com/cd-tdc.htm cd tdc] [http://isbellan.freehostia.com/web/les-aliments/ les aliments] [http://lazy-murrra.freehostia.com/hp-pavilion23.htm hp pavilion portatili] [http://isbellan.freehostia.com/web/el-guayabero/ el guayabero] [http://beloyara.freehostia.com/topic/fax-server1/ fax server linux] [http://tacogrrla.freehostia.com/freeway-scarpe.htm freeway scarpe] [http://beloyara.freehostia.com/topic/san-felice3/ san felice slavo] [http://tacogrrla.freehostia.com/Index-of1.htm index of mp3] [http://just-whelm.freehostia.com/calcio-guerra.htm calcio guerra ping pong] == Part 1 - Your Character ==
| | {{TOCright}} |
| | == 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.}} |
|
| |
|
| === '''The Basics''' === | | == Debugging Functions == |
| <hr>
| | {{Flink|void|disable|string|desc=Disables the specified function.}} |
| <p><em>We
| | {{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.}} |
| | |
| | == File Input/Output Functions == |
| | {{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