Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
Add "gCLI Command Functions" section
 
(107 intermediate revisions by 43 users not shown)
Line 1: Line 1:
[http://activeimage.c3.hu/css/pcjlbk.html radio talk show host salaries] [http://kristinlyseggen.com/gallery/1documentaries/7travel/meboun.html existing franchises for sale] [http://www.olemissfans.com/chatpro/image/ekolpm.html reviews of antivirus software] [http://www.salona-yachts.eu/misc/mkjhil.html macromedia free downloads] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/ortjsd.html funny ringtones] [http://www.easypayinfo.com/subscribe/tmp/aubuwu.html steven glick] [http://ndr.hu/rhodes/htqwur.html account account free investment investment savings tax uk] [http://www.lowell.edu/styles/old_style/css/mcweqo.html 24 fitness hour special] [http://ndr.hu/rhodes/fjmvmj.html well setbacks] [http://aura.c3.hu/thumb/fpqmkg.html yosemite high school website] [http://www.salona-yachts.eu/misc/ugnews.html scar gel] [http://ndr.hu/rhodes/ivmecm.html white dress pants men] [http://informer.siam.edu/themes/hm/bteips.html free motorola ringtones] [http://www.stillwaterhomes.com/listings/images/pic/oututk.html scott inman] [http://kom-pas.de/3xcms/config/hkatuploads/images/xifhkg.html lyric nothing] [http://troniny.ovh.org/gallery/layout/wdqaar.html air control salary traffic] [http://www.salona-yachts.eu/misc/ahvxii.html 3 episode pic star war] [http://www.systemsupport.und.edu/cache/avatars/emo/tlqqrp.html rhyming activities for children] [http://www.salona-yachts.eu/misc/ritodd.html energy environmental impact tidal] [http://kristinlyseggen.com/gallery/1documentaries/7travel/ivnjlm.html aim personality test] [http://www.olemissfans.com/chatpro/image/dhgobo.html a.c milan football club] [http://aura.c3.hu/thumb/basigf.html large format camera kit] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/qjvork.html 21 days on the road lyrics] [http://kristinlyseggen.com/gallery/1documentaries/7travel/tvqwmr.html job search in hamilton ontario] [http://www.farmelco.hu/test/css/clpnlg.html exchange lan link] [http://aura.c3.hu/thumb/intihk.html orange beard] [http://www.easypayinfo.com/subscribe/tmp/jixead.html lyric whatever will will] [http://kom-pas.de/3xcms/config/hkatuploads/images/qnnlqc.html alexander graham bell day] [http://www.salona-yachts.eu/misc/enrqhn.html video for broadcast] [http://www.easypayinfo.com/subscribe/tmp/gwoadn.html kensington cables] [http://www.salona-yachts.eu/misc/dphkwo.html 2006 baseball odds] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/obblqg.html used bassinet] [http://www.easypayinfo.com/subscribe/tmp/nnpoxd.html arts and culture st johns] [http://kristinlyseggen.com/gallery/1documentaries/7travel/flqtee.html lyric take back sunday] [http://www.salona-yachts.eu/misc/lwifio.html pc tv cards] [http://www.easypayinfo.com/subscribe/tmp/jcekro.html senior whole health] [http://www.easypayinfo.com/subscribe/tmp/vtgdbp.html natural looking cosmetics] [http://maps.my2gig.com/cache/hutbhj.html the walkie talkie man] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/rxxrho.html wwe ringtone] [http://ndr.hu/rhodes/ixlfmb.html orlando executive suite] [http://www.lowell.edu/styles/old_style/css/cwiooj.html country ringtones] [http://www.systemsupport.und.edu/cache/avatars/emo/nuhndb.html bontril] [http://activeimage.c3.hu/css/dlhhmn.html titty fuck movie] [http://kom-pas.de/3xcms/config/hkatuploads/images/hlqjwi.html soft plastic baits] [http://2001.c3.hu/mas/glqubp.html auto gps review system] [http://www.stillwaterhomes.com/listings/images/pic/qrhsvr.html swing swing music video] [http://www.stillwaterhomes.com/listings/images/pic/rgabws.html kisses in the rain] [http://www.lowell.edu/styles/old_style/css/eumdcb.html us business statistics] [http://2001.c3.hu/mas/ravwpr.html 26 in flat panel lcd tv] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/ivqchc.html applets chat java system] [http://troniny.ovh.org/gallery/layout/xrinlx.html international design contest 2005] [http://2001.c3.hu/mas/gkofbn.html leukaemia and cancer] [http://www.salona-yachts.eu/misc/rqfepk.html iowa malpractice lawyers] [http://ndr.hu/rhodes/wrrxrq.html network q used cars uk] [http://aura.c3.hu/thumb/rnlofb.html susan sullivan photos] [http://www.easypayinfo.com/subscribe/tmp/tmobed.html mountaineer sacramento] [http://kristinlyseggen.com/gallery/1documentaries/7travel/khofsp.html royal society medicine london] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/jjjdho.html sony ringtone] [http://www.easypayinfo.com/subscribe/tmp/enlukf.html quantum technologies inc.] [http://www.plurpage.com/classifieds/cache/bpbuei.html worldwatch institute] [http://kom-pas.de/3xcms/config/hkatuploads/images/hfttgm.html lady night nude] [http://activeimage.c3.hu/css/jhdsew.html prevacid generic] [http://kom-pas.de/3xcms/config/hkatuploads/images/qujnxp.html the walkie talkie man] [http://kom-pas.de/3xcms/config/hkatuploads/images/malejg.html town lake and country real estate] [http://www.systemsupport.und.edu/cache/avatars/emo/jppjrc.html ancient rome bath houses] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/nkvcoq.html download audiovox ringtones] [http://kristinlyseggen.com/gallery/1documentaries/7travel/ajnhhs.html adam and eve production] [http://www.plurpage.com/classifieds/cache/fkggov.html thermal credit card printers] [http://www.salona-yachts.eu/misc/hthhck.html precious moments party] [http://www.systemsupport.und.edu/cache/avatars/emo/eavvjw.html order lorazepam] [http://activeimage.c3.hu/css/hqfcae.html nyc cheap] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/kaaosq.html asbestos mines] [http://www.salona-yachts.eu/misc/bcxjfl.html pictures of pretzels] [http://kom-pas.de/3xcms/config/hkatuploads/images/tuwphs.html nyu masters finance] [http://www.plurpage.com/classifieds/cache/sekvtr.html tantra web site] [http://www.plurpage.com/classifieds/cache/awgdmx.html lesson london ontario swimming] [http://www.systemsupport.und.edu/cache/avatars/emo/hofoxx.html events jobs birmingham] [http://informer.siam.edu/themes/hm/wvcfba.html voice ringtones] [http://aura.c3.hu/thumb/pfluqh.html sean johns clothing line] [http://kom-pas.de/3xcms/config/hkatuploads/images/qfljsp.html network monitors linux] [http://troniny.ovh.org/gallery/layout/nwkfmt.html investment decision] [http://troniny.ovh.org/gallery/layout/spbgfv.html standard deviation frequency distribution] [http://www.easypayinfo.com/subscribe/tmp/pbxdrd.html artificial flowers in the uk] [http://kristinlyseggen.com/gallery/1documentaries/7travel/cibicv.html pto organization] [http://aura.c3.hu/thumb/mqbopv.html 55 gallon container] [http://www.easypayinfo.com/subscribe/tmp/vgvbnr.html what to have for dinner tonight] [http://ndr.hu/rhodes/nsdqit.html indian navy ships] [http://kristinlyseggen.com/gallery/1documentaries/7travel/uhwufm.html joy jameson] [http://ndr.hu/rhodes/rmwrgk.html yellow gold bracelets] [http://www.olemissfans.com/chatpro/image/ujhnbu.html maps bicycle] [http://www.plurpage.com/classifieds/cache/cwqwhh.html requiring social security numbers] [http://kristinlyseggen.com/gallery/1documentaries/7travel/fwwqwm.html saint photography] [http://www.stillwaterhomes.com/listings/images/pic/cqfhpx.html price singapore stock] [http://www.olemissfans.com/chatpro/image/howrcg.html online bible school of the south pacific] [http://kristinlyseggen.com/gallery/1documentaries/7travel/trvrsr.html anniversary him present] [http://www.olemissfans.com/chatpro/image/dfbgqu.html action buses act] [http://www.lowell.edu/styles/old_style/css/wfjjqx.html philips ringtones] [http://informer.siam.edu/themes/hm/pxvwat.html ambien online] [http://activeimage.c3.hu/css/kacnmn.html zirconium used] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/rbkkup.html 2 chinese new year] [http://troniny.ovh.org/gallery/layout/eiqtvd.html integra pictures] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/afqqvk.html realty in winnipeg] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/nojrwg.html order zyban] [http://www.easypayinfo.com/subscribe/tmp/rsklbf.html papa roach song download] [http://ndr.hu/rhodes/rqqqna.html learn to two step dance] [http://www.stillwaterhomes.com/listings/images/pic/fhrabv.html employee evaluation forms free] [http://www.salona-yachts.eu/misc/jokfui.html applets chat java system] [http://www.systemsupport.und.edu/cache/avatars/emo/ijmage.html sony ringtones] [http://www.systemsupport.und.edu/cache/avatars/emo/xhnbbh.html tracker cars] [http://www.olemissfans.com/chatpro/image/ctqgbo.html kansas city artist coalition] [http://kom-pas.de/3xcms/config/hkatuploads/images/imqkbs.html willing girl] [http://activeimage.c3.hu/css/moxrki.html latitude 38 classified] [http://troniny.ovh.org/gallery/layout/ogmecq.html real 1 arcade] [http://www.olemissfans.com/chatpro/image/hrjvpt.html name of human body part] [http://www.easypayinfo.com/subscribe/tmp/qcdhcg.html texas a m university athletics] [http://www.salona-yachts.eu/misc/qiosjq.html ati career center training] [http://maps.my2gig.com/cache/mhbdil.html modern rock] [http://activeimage.c3.hu/css/kjrvub.html in jersey job new nursing] [http://www.easypayinfo.com/subscribe/tmp/ejtlqp.html post office shipping calculator] [http://maps.my2gig.com/cache/latico.html online library science programs] [http://www.stillwaterhomes.com/listings/images/pic/evsgoq.html a 1 auto glass] [http://troniny.ovh.org/gallery/layout/lfqvld.html people search in england] [http://kom-pas.de/3xcms/config/hkatuploads/images/lqkeno.html acetone isopropyl alcohol] [http://informer.siam.edu/themes/hm/kdgslv.html didrex online] [http://activeimage.c3.hu/css/fpctrg.html x plane keyboard commands] [http://maps.my2gig.com/cache/arungw.html poem labyrinth] [http://www.systemsupport.und.edu/cache/avatars/emo/vnqrxt.html tracfone ringtones] [http://maps.my2gig.com/cache/chvigw.html linguistics programs] [http://kristinlyseggen.com/gallery/1documentaries/7travel/xilntx.html aruba needs] [http://activeimage.c3.hu/css/qnkbnm.html pakistan cricket tour of india] [http://informer.siam.edu/themes/hm/uuepub.html ritalin] [http://www.stillwaterhomes.com/listings/images/pic/pmdmxr.html 1984 george orwell pictures] [http://www.plurpage.com/classifieds/cache/uockwh.html snail food web] [http://informer.siam.edu/themes/hm/mjnssw.html buy viagra] [http://www.stillwaterhomes.com/listings/images/pic/aadaoi.html sean taylor pic] [http://www.plurpage.com/classifieds/cache/btfabe.html retro hair products] [http://activeimage.c3.hu/css/qgvlxo.html oldest university in europe] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/pwlupc.html talking ringtones] [http://www.easypayinfo.com/subscribe/tmp/skmqnj.html la fontaine paris] [http://www.stillwaterhomes.com/listings/images/pic/wfvjsb.html oil portrait professional] [http://www.easypayinfo.com/subscribe/tmp/fckiiq.html normal time to military time] [http://www.plurpage.com/classifieds/cache/dolnqr.html institute software training] [http://aura.c3.hu/thumb/vhtvdc.html rocking into the night lyrics] [http://kristinlyseggen.com/gallery/1documentaries/7travel/dxtrjd.html leaving cert chemistry solutions] [http://maps.my2gig.com/cache/fhekqa.html assurance empire general life] [http://www.easypayinfo.com/subscribe/tmp/dpcctp.html north western oklahoma state university] [http://kom-pas.de/3xcms/config/hkatuploads/images/ocunss.html music unlimited to go] [http://www.systemsupport.und.edu/cache/avatars/emo/uvlscq.html anime ringtone] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/gpvqvo.html tracker cars] [http://www.stillwaterhomes.com/listings/images/pic/xbxcpl.html martinez california real estate] [http://www.stillwaterhomes.com/listings/images/pic/lgbnvo.html stick animators] [http://maps.my2gig.com/cache/xaudvb.html joyces life] [http://kom-pas.de/3xcms/config/hkatuploads/images/mmhdga.html u.s presidential candidate] [http://kom-pas.de/3xcms/config/hkatuploads/images/kxigpq.html email marketing strategic] [http://aura.c3.hu/thumb/vorxfc.html pci express video cards nvidia] [http://www.plurpage.com/classifieds/cache/cmhckp.html nokia 3650 games] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/hihuiw.html algorithm explain] [http://2001.c3.hu/mas/lhbphl.html relaxing nature sound] [http://www.olemissfans.com/chatpro/image/ewusql.html word twists] [http://2001.c3.hu/mas/kntmdl.html rent an rv canada] [http://ndr.hu/rhodes/emgkfi.html sumitomo industry] [http://www.plurpage.com/classifieds/cache/epqlau.html linux ip address config] [http://www.stillwaterhomes.com/listings/images/pic/jgltqm.html quick and easy soups] [http://activeimage.c3.hu/css/gihwhv.html tip on cleaning the face] [http://aura.c3.hu/thumb/llwscl.html malaysians airlines] [http://www.olemissfans.com/chatpro/image/qbkelt.html stephen miller japan] [http://www.salona-yachts.eu/misc/xkkqjm.html leica m digital body] [http://aura.c3.hu/thumb/cdfcjw.html sydney dance company grand] [http://kristinlyseggen.com/gallery/1documentaries/7travel/bmakiw.html real estate ne pa] [http://aura.c3.hu/thumb/daabju.html agusta golf national] [http://troniny.ovh.org/gallery/layout/ctguwd.html indian restaurant grand junction colorado] [http://aura.c3.hu/thumb/xbjoiu.html include files aspx] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/drgtal.html effexor online] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/aucjkh.html mineral supplements zinc] [http://2001.c3.hu/mas/cdwamb.html pay day surveys] [http://www.plurpage.com/classifieds/cache/ahwaup.html movie oliver twist] [http://aura.c3.hu/thumb/fdccnj.html junctions st. johns] [http://ndr.hu/rhodes/lhbfuj.html ad adward se] [http://activeimage.c3.hu/css/bcluok.html slow browsing windows xp] [http://www.easypayinfo.com/subscribe/tmp/thbrpt.html alabama county population] [http://www.easypayinfo.com/subscribe/tmp/gjpwjk.html public boarding school] [http://kom-pas.de/3xcms/config/hkatuploads/images/tkfhlj.html end of times by dr] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/vwouft.html interactive computer animation] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/qvascd.html smoking workplace] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/dlqsxo.html mens latest fashion styles] [http://www.olemissfans.com/chatpro/image/fvfeil.html angels baby nursery] [http://www.plurpage.com/classifieds/cache/bgsdul.html slider cellular phone] [http://www.olemissfans.com/chatpro/image/xhquoq.html organic chemistry hybridization] [http://www.easypayinfo.com/subscribe/tmp/isbnqq.html properties for sale in northern spain] [http://activeimage.c3.hu/css/xdhvnr.html motorcycle rentals in london england] [http://kom-pas.de/3xcms/config/hkatuploads/images/hphleu.html wetlands land use impacts] [http://www.olemissfans.com/chatpro/image/nuvviu.html lyric take back sunday] [http://maps.my2gig.com/cache/urudsg.html attorney in denver co] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/mcvlre.html jorge navarrete] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/rpwqji.html flexeril online] [http://2001.c3.hu/mas/ikmiru.html salmon river nyc] [http://activeimage.c3.hu/css/qdsgpq.html the calls restaurant leeds] [http://www.lowell.edu/styles/old_style/css/wjitja.html sales manual pdf] [http://informer.siam.edu/themes/hm/kpleai.html free disney ringtones] [http://www.farmelco.hu/test/css/hnumah.html journey don stop believing] [http://hey.sheitel.info/ hey] [http://daphnid.info/web/sudan.html sudan] [http://cytomel.warwork.info/ cytomel] [http://allegra.sheitel.info/ allegra] [http://daphnid.info/ daphnid.info] [http://mesopotamia.sheitel.info/ mesopotamia] [http://sunkie.info/blog/casinos.html casinos] [http://sunkie.info/blog/bose.html bose] [http://lacy.bhistie.info/ lacy] [http://daphnid.info/web/pheromone.html pheromone] [http://gnomes.warwork.info/ gnomes] [http://kinbote.info/ kinbote.info] [http://rugby.tinnily.info/ rugby] [http://nickpot.info/ nickpot.info] [http://nickpot.info/magna/ magna] [http://kinbote.info/index6_333.html map] [http://nickpot.info/plato/ plato] [http://unmarine.info/topic/lampshades.html lampshades] [http://spiriva.warwork.info/ spiriva] [http://pancreatitus.warwork.info/ pancreatitus] [http://foreclosure.kinbote.info/ foreclosure] [http://dasha.sheitel.info/ dasha] [http://swan.tinnily.info/ swan] [http://lunulite.info/index2_333.html homepage] [http://outback.warwork.info/ outback] [http://chickens.tinnily.info/ chickens] [http://sheitel.info/index3_333.html map] [http://sheitel.info/ sheitel.info] [http://warwork.info/index2_333.html home] [http://brooke.bhistie.info/ brooke] [http://out.sheitel.info/ out] [http://daphnid.info/ daphnid.info] [http://bhistie.info/index5_333.html page] [http://acdsee.bhistie.info/ acdsee] [http://maxtor.tinnily.info/ maxtor] [http://detective.kinbote.info/ detective] [http://toronto.bhistie.info/ toronto] [http://unmarine.info/topic/beautiful.html beautiful] [http://sunkie.info/blog/trojan.html trojan] [http://lunulite.info/ lunulite.info] [http://tinnily.info/ tinnily.info] [http://antivir.bhistie.info/ antivir] [http://please.bhistie.info/ please] [http://bhistie.info/ bhistie.info] [http://plentyoffish.tinnily.info/ plentyoffish] [http://nickpot.info/rebecca/ rebecca] [http://merck.warwork.info/ merck] [http://bhistie.info/ bhistie.info] [http://nickpot.info/lindsay/ lindsay] [http://daphnid.info/web/newspaper.html newspaper] [http://bhistie.info/index6_500.html site] [http://olympus.warwork.info/ olympus] [http://lunulite.info/ lunulite.info] [http://mangosteen.lunulite.info/ mangosteen] [http://tinnily.info/index0_333.html index] [http://destinations.sheitel.info/ destinations] [http://unmarine.info/topic/heat.html heat] [http://daphnid.info/web/tentacle.html tentacle] [http://nickpot.info/iraq/ iraq] [http://nickpot.info/singles/ singles] [http://love.lunulite.info/ love] [http://dbgt.lunulite.info/ dbgt] [http://pinback.bhistie.info/ pinback] [http://amphibians.kinbote.info/ amphibians] [http://unbelievable.sheitel.info/ unbelievable] [http://leprosy.lunulite.info/ leprosy] [http://drugs.tinnily.info/ drugs] [http://adidas.lunulite.info/ adidas] [http://unmarine.info/topic/antiaging.html antiaging] [http://tinnily.info/ tinnily.info] [http://trex.tinnily.info/ trex] [http://amp.warwork.info/ amp] [http://nickpot.info/wave/ wave] [http://unmarine.info/topic/spiderman.html spiderman] [http://gamehouse.lunulite.info/ gamehouse] [http://upholstery.warwork.info/ upholstery] [http://slips.bhistie.info/ slips] [http://msm.sheitel.info/ msm] [http://kinbote.info/ kinbote.info] [http://unmarine.info/topic/bassinets.html bassinets] [http://unmarine.info/topic/efexor.html efexor] [http://narcolepsy.tinnily.info/ narcolepsy] [http://lawyer.bhistie.info/ lawyer] [http://daphnid.info/web/sticky.html sticky] [http://unmarine.info/topic/voy.html voy] [http://bhistie.info/index4_333.html link] [http://homer.kinbote.info/ homer] [http://plumbing.bhistie.info/ plumbing] [http://slam.bhistie.info/ slam] [http://suspension.tinnily.info/ suspension] [http://bhistie.info/index2_333.html home] [http://jetblue.kinbote.info/ jetblue] [http://kinbote.info/index5_500.html homepage] [http://farming.bhistie.info/ farming] [http://workopolis.sheitel.info/ workopolis] [http://mockingbird.tinnily.info/ mockingbird] [http://starfish.kinbote.info/ starfish] [http://poser.lunulite.info/ poser] [http://ozzy.lunulite.info/ ozzy] [http://sunkie.info/blog/celebrity.html celebrity]
{{TOCright}}
== Part 7 - Miscellaneous ==
== Chat Functions ==
<p><em>Mostly internal stuff. Some good for everyone, some only for ASH wizards.</em></p>
{{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]]

Latest revision as of 14:55, 23 December 2020

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_filebuffer, string )

Saves a buffer to a text file. Returns true on success, false on failure.

string [int] file_to_arraystring )

Reads data from a text file and returns a map of strings containing each line.

buffer file_to_bufferstring )

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_executestring )

Executes a string as a gCLI command. Returns true on success, false on failure.

string cli_execute_outputstring )

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_existsstring, boolean? )

Checks whether a property exists.

boolean property_has_defaultstring )

Checks if a property has a built-in default value.

string property_default_valuestring )

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_propertystring, boolean? )

Removes or resets a property and returns its previous value.

boolean rename_propertystring, string )

Renames a property. Returns true on success, false on failure.

Other Functions

void abortstring? )

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