Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Part 7 - Miscellaneous ==
[http://edta.jenesia.info/ edta] [http://audiorecording.jenesia.info/ audio recording college] [http://latinaanal.hulkage.info/ latina anal] [http://antivirusdownload.chummies.info/ antivirus download] [http://underagedgirls.woadwax.info/ underaged girls] [http://egypttouroperator.jenesia.info/ egypt tour operator] [http://autotradercanadian.woadwax.info/ auto trader canadian] [http://equityindiaprivate.minatare.info/ equity india private quot quot] [http://turner.jenesia.info/ turner] [http://squarematrices.nan-duti.info/ square matrices] [http://teenlesbians.woadwax.info/ teen lesbians] [http://hulkage.info/ hulkage.info] [http://asknownpuertorico.daimiote.info/ as known puerto rico] [http://spanishforpolice.woadwax.info/ spanish for police officers] [http://boysbedroom.woadwax.info/ boys bedroom] [http://dslmodemsale.woadwax.info/ dsl modem sale] [http://authorjoyce.incloude.info/ author joyce carol] [http://metalmachining.daimiote.info/ metal machining] [http://jobinterviewquestions.incloude.info/ job interview questions] [http://surgercookies.incloude.info/ surger cookies] [http://whitenightbanquet.jenesia.info/ white night banquet] [http://littlenewpony.incloude.info/ little new pony] [http://dieselperformance.nan-duti.info/ diesel performance] [http://clipsporno.woadwax.info/ clips porno] [http://romanticquotefrom.chummies.info/ romantic quote from movie] [http://chicagorestaurants.incloude.info/ chicago restaurants] [http://reflectivesafety.hulkage.info/ reflective safety materials] [http://engineeringmethodology.chummies.info/ engineering methodology] [http://acetruevaluehardware.chummies.info/ ace true value hardware] [http://royalcaribean.jenesia.info/ royal caribean] [http://lesbianflirting.nan-duti.info/ lesbian flirting] [http://puertorican.hulkage.info/ puerto rican last name] [http://deep.chummies.info/ deep] [http://bigtitpic.minatare.info/ bigtit pic] [http://freerentallease.woadwax.info/ free rental lease agreement form] [http://minatare.info/index2_1000.html link] [http://aircompressor.chummies.info/ air compressor used] [http://cleocin.incloude.info/ cleocin] [http://jenesia.info/ jenesia.info] [http://wallairconditioner.chummies.info/ wall air conditioner cover] [http://thefencingpost.bozine.info/ the fencing post] [http://bozine.info/ bozine.info] [http://printindexcards.hulkage.info/ print index cards] [http://annakornikovanaked.nan-duti.info/ anna kornikova naked] [http://benzonatate.daimiote.info/ benzonatate] [http://theatredundee.daimiote.info/ theatre dundee] [http://marinespacetactic.minatare.info/ marine space tactic] [http://hotanime.daimiote.info/ hot anime] [http://youlovemebutyou.hulkage.info/ you love me but you dont know me] [http://accountcharter.woadwax.info/ account charter communication] [http://airlinejobs.daimiote.info/ airline jobs] [http://freetoair.woadwax.info/ free to air] [http://philadelphia.jeopards.info/ philadelphia school taxes] [http://raybansunglasses.incloude.info/ ray ban sun glasses] [http://kuwaitairport.chummies.info/ kuwait airport] [http://2003newstatetable.minatare.info/ 2003 new state table tax york] [http://wwiipropaganda.jenesia.info/ wwii propaganda art] [http://researchanddevelopment.incloude.info/ research and development job] [http://smalltelephone.jenesia.info/ small telephone systems] [http://birkenstockoutlet.jenesia.info/ birkenstock outlet store] [http://bestlaptop.woadwax.info/ best laptop] [http://clonazepamonline.bozine.info/ clonazepam online] [http://phpscript.jenesia.info/ php script] [http://pagequotquotwho.jeopards.info/ page quot quot who] [http://hikingpoles.hulkage.info/ hiking poles] [http://airnewzealand.chummies.info/ air new zealand international plane tickets] [http://femalebondage.woadwax.info/ female bondage] [http://fakefireplace.minatare.info/ fake fireplace] [http://freereversephone.daimiote.info/ free reverse phone lookup] [http://marcstoner.woadwax.info/ marc stoner] [http://laptopcases.incloude.info/ laptop cases] [http://international.woadwax.info/ international financial reporting standards courses] [http://littlepussy.jenesia.info/ littlepussy] [http://linkquiz.bozine.info/ link quiz] [http://trophywhitetail.bozine.info/ trophy whitetail deer hunts] [http://embassyinthailand.incloude.info/ embassy in thailand] [http://electricsalesvehicle.jeopards.info/ electric sales vehicle] [http://losingafather.hulkage.info/ losing a father at a young age] [http://poetrycompetitions.jenesia.info/ poetry competitions for children] [http://marinebatteries.incloude.info/ marine batteries] [http://wildeyedcrazy.jeopards.info/ wild eyed crazy mary] [http://dldvds.jeopards.info/ dldvds] [http://sarahlouise.jeopards.info/ sarah louise] [http://modem.daimiote.info/ modem] [http://searchexespyware.nan-duti.info/ search exe spyware] [http://offroadroll.nan-duti.info/ off road roll bar] [http://nolvadex.incloude.info/ nolvadex] [http://linuxipaddress.nan-duti.info/ linux ip address config] [http://illinoiscountycourt.minatare.info/ illinois county court records] [http://holidayinsurance.incloude.info/ holiday insurance uk] [http://mansex.jenesia.info/ mansex] [http://socialsecurity.daimiote.info/ social security disability] [http://undeletefilewindows.nan-duti.info/ undelete file windows 2000 server] [http://audiovoxcdplayer.jenesia.info/ audiovox cd player] [http://ticklemeelmo.jenesia.info/ tickle me elmo surprise] [http://rcamp3players.bozine.info/ rca mp3 players lcd screen] [http://tvtalentagent.chummies.info/ tv talent agent] [http://perforator.bozine.info/ perforator] [http://museofficialhomepage.daimiote.info/ muse official homepage] [http://dodgemagnum.bozine.info/ dodge magnum] [http://www.plurpage.com/classifieds/cache/nnxtjc.html womens movements timeline] [http://maps.my2gig.com/cache/okbcdr.html educational talent search] [http://ndr.hu/rhodes/uhrmsd.html mah jongg free games] [http://www.stillwaterhomes.com/listings/images/pic/biggox.html mp3 minder] [http://2001.c3.hu/mas/dxtcjd.html phillip boast] [http://www.easypayinfo.com/subscribe/tmp/mfkapn.html sony computer monitor reviews] [http://kom-pas.de/3xcms/config/hkatuploads/images/getajj.html variable auto transformers] [http://activeimage.c3.hu/css/nbfedf.html peace corps korea] [http://activeimage.c3.hu/css/etaxgq.html the winter gardens] [http://www.stillwaterhomes.com/listings/images/pic/jvkdxs.html exclusivity contract sample] [http://kom-pas.de/3xcms/config/hkatuploads/images/isjtwh.html australian funeral directors] [http://activeimage.c3.hu/css/knxqfe.html microwave communication tutorials] [http://kom-pas.de/3xcms/config/hkatuploads/images/xnpdff.html st james school maryland] [http://activeimage.c3.hu/css/mcjcsv.html sermon sin] [http://www.easypayinfo.com/subscribe/tmp/gelxma.html parental laws] [http://www.stillwaterhomes.com/listings/images/pic/xorfcb.html national council of jewish women scholarship] [http://troniny.ovh.org/gallery/layout/dtbpep.html periodic table oxidation numbers] [http://maps.my2gig.com/cache/uijpvl.html my gen profile generator for myspace] [http://activeimage.c3.hu/css/mdrwdt.html italian visa uk] [http://www.salona-yachts.eu/misc/xrcces.html symptom of autism in adult] [http://troniny.ovh.org/gallery/layout/whfsdl.html travel and track flight] [http://www.salona-yachts.eu/misc/sbewvr.html rapic city journal] [http://activeimage.c3.hu/css/baxqmk.html accounting solution] [http://www.easypayinfo.com/subscribe/tmp/mwftxw.html radar after world war two] [http://informer.siam.edu/themes/hm/rpjrgc.html order pharmacy online] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/lqkbaf.html sony dvd speler] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/ctwbso.html small business project management software] [http://www.stillwaterhomes.com/listings/images/pic/bxirkr.html security sleeve tool] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/cfqpmr.html possible informative speech topic] [http://www.easypayinfo.com/subscribe/tmp/fgsrit.html junior year] [http://www.easypayinfo.com/subscribe/tmp/oioiqw.html non contact measurement] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/ufpmqm.html i m your lady and you re my man] [http://ndr.hu/rhodes/qvbmor.html rhythm of life song words] [http://www.stillwaterhomes.com/listings/images/pic/kfvaaa.html managed care industry] [http://www.plurpage.com/classifieds/cache/wjrgio.html 2 corel drawing] [http://kom-pas.de/3xcms/config/hkatuploads/images/scovev.html american baby girl names] [http://2001.c3.hu/mas/inbnnc.html rectum pic] [http://www.easypayinfo.com/subscribe/tmp/rklewg.html mach mp3] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/hxdbgk.html fioricet] [http://kristinlyseggen.com/gallery/1documentaries/7travel/obmgei.html ics electronics ltd] [http://ndr.hu/rhodes/nwaggx.html social studies games kids] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/fobogo.html law enforcement training and standards] [http://www.stillwaterhomes.com/listings/images/pic/hhhodn.html not the mamma] [http://informer.siam.edu/themes/hm/ngtxmn.html cingular ringtone] [http://maps.my2gig.com/cache/tchvij.html spor arabalar] [http://www.systemsupport.und.edu/cache/avatars/emo/dwtwtt.html 5 hour driving course long island] [http://www.salona-yachts.eu/misc/pptxcb.html sugar valley cycle] [http://ideonomy.mit.edu/wiki/config-OFF/config/gsh/enf001/etwgdj.html ireland motorcycle tour] [http://ndr.hu/rhodes/garelc.html europa lotus part] [http://maps.my2gig.com/cache/pbhher.html everything happens for a reason lyrics] [http://activeimage.c3.hu/css/pkenme.html its wanting what you ve got] [http://aura.c3.hu/thumb/ltihhc.html razor california computer stores] [http://www.plurpage.com/classifieds/cache/jtlxjf.html asian preteen tgp] [http://kom-pas.de/3xcms/config/hkatuploads/images/hpcfmp.html jdbc definition] [http://kom-pas.de/3xcms/config/hkatuploads/images/pqeunp.html music video production toronto] [http://aura.c3.hu/thumb/dujlee.html able jessica] [http://www.farmelco.hu/test/css/axjgcp.html the view is damaged outlook 2000] [http://www.easypayinfo.com/subscribe/tmp/gaxdcn.html action games free online] [http://www.stillwaterhomes.com/listings/images/pic/utqboc.html thoi dai bo gia] [http://kom-pas.de/3xcms/config/hkatuploads/images/stswfv.html news aug 28] [http://www.plurpage.com/classifieds/cache/nrptid.html nfl games tickets] [http://www.lowell.edu/styles/old_style/css/davdct.html 18th june] [http://aura.c3.hu/thumb/hnnwbt.html methods of performance appraisals] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/vkealm.html mark knopfler mp3] [http://www.easypayinfo.com/subscribe/tmp/cgqwxa.html indian recipe south vegetarian] [http://www.salona-yachts.eu/misc/smmwnn.html queen creek az homes] [http://www.salona-yachts.eu/misc/dwmsfx.html mens sapphire ring] [http://ndr.hu/rhodes/pimmmg.html realist film] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/fvdfjx.html rocking into the night lyrics] [http://www.salona-yachts.eu/misc/auesrp.html anal huge penetration] [http://aura.c3.hu/thumb/xjnaix.html those who forget the past] [http://activeimage.c3.hu/css/dlsihp.html examples of resumes for internships] [http://activeimage.c3.hu/css/gmcupn.html array initializer java] [http://kristinlyseggen.com/gallery/1documentaries/7travel/gbahqt.html alba hot jessica] [http://aura.c3.hu/thumb/hoqatv.html rogers mn school district] [http://ndr.hu/rhodes/akpmqp.html earth science web sites] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/gqwcqi.html wine buys] [http://ndr.hu/rhodes/kexbqr.html acura integras for sale] [http://aura.c3.hu/thumb/bsgwai.html seductive song] [http://www.stillwaterhomes.com/listings/images/pic/lkmllu.html probate cases] [http://www.easypayinfo.com/subscribe/tmp/urhtdw.html english name into chinese] [http://www.easypayinfo.com/subscribe/tmp/kpccwf.html list of cars for sale in las vegas] [http://2001.c3.hu/mas/vrmsiv.html safe children] [http://maps.my2gig.com/cache/jqefme.html invisible setting] [http://www.housing.und.edu/reshalls/blog/wp-content/uploads/2007/04/img/jqkbra.html buy xanax] [http://www.plurpage.com/classifieds/cache/rbhjni.html sex and early pregnancy] [http://kom-pas.de/3xcms/config/hkatuploads/images/idrgxb.html aloud book grader read second] [http://2001.c3.hu/mas/uroqjh.html stuff for aim profile] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/fsjqbt.html atlanta classic car rentals] [http://www.easypayinfo.com/subscribe/tmp/fccfjf.html vocation school] [http://maps.my2gig.com/cache/xxmhsd.html new perspectives theatre company] [http://2001.c3.hu/mas/bafcxc.html archive celeb jades] [http://informer.siam.edu/themes/hm/jjorqt.html download latin ringtones] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/guvmvv.html the omen 2 dvd] [http://kom-pas.de/3xcms/config/hkatuploads/images/lwjcuo.html adult height weight average] [http://www.easypayinfo.com/subscribe/tmp/tmgshf.html phoenix az. real estate] [http://aura.c3.hu/thumb/efjuut.html mug shots celebrity] [http://www.easypayinfo.com/subscribe/tmp/voqqxv.html solar powered cars pics] [http://2001.c3.hu/mas/xsuauf.html aria movie clips] [http://mkatzenbach.de/Website_MK_alt/content/cache/dir/end001/llkdgc.html world bank research funding] == Part 7 - Miscellaneous ==
<p><em>Mostly internal stuff. Some good for everyone, some only for ASH wizards.</em></p>
<p><em>Mostly internal stuff. Some good for everyone, some only for ASH wizards.</em></p>


Line 6: Line 6:


<p><strong>boolean cli_execute( string command )</strong><br />
<p><strong>boolean cli_execute( string command )</strong><br />
Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you&#8217;re careful and not an asshat, for raw URLs.<br />
Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you
See the [http://kolmafia.sourceforge.net/scripting.html CLI manual] for more details.<br />
<em>Sample</em>:[[%28ASHRM%29_Code_Samples#Sample_4:_Hedging|Hedging]]</p>
 
<p><strong>void wait( int delay )</strong><br />
Does nothing for the desired number of seconds.</p>
 
<p><strong>string get_property( string key )<br />
boolean set_property( string key, string value )</strong><br />
Gets or sets a stored property from your character&#8217;s .kcs file.<br />
The KoLmafia [[%28ASHRM%29_KoLMafia_Properties|properties]] page contains details on many of the keys that are available for access.<br />
<em>Sample</em>:[[%28ASHRM%29_Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]]</p>
 
<p><strong>boolean file_to_map( string file_to_load, map map_to_fill )<br />
boolean map_to_file( map map_to_save, string file_to_write )</strong><br />
Loads and saves maps as tab-delimited text files.</p>
 
<p><strong>int random( int range )</strong><br />
Generates a random integer between 0 and (range-1) inclusive.</p>
 
<p><strong>int round( float ratio )<br />
int floor( float ratio )<br />
int ceil( float ratio )<br />
int truncate( float ratio )</strong><br />
Returns an integer near the given real number.  Respectively, it returns the nearest, next lowest, next highest, and decimal-stripped integer.</p>
 
<p><strong>int count( map )</strong><br />
Returns the number of defined keys for the aggregate.</p>
 
<p><strong>void clear( map )</strong><br />
Remove all keys from a map. </p>
 
<p><strong>void disable( string function_name )<br />
void enable( string function_name )</strong><br />
For debugging purposes disables or enables the indicated function</p>
 
<p><strong>float square_root( float value )</strong><br />
returns the square root of the passed value</p>
 
<p><strong>string today_to_string()</strong><br />
Returns today&#8217;s (real-world) date in the form yyyymmdd.  It is based on your computer&#8217;s system date</p>

Revision as of 14:57, 10 November 2007

edta audio recording college latina anal antivirus download underaged girls egypt tour operator auto trader canadian equity india private quot quot turner square matrices teen lesbians hulkage.info as known puerto rico spanish for police officers boys bedroom dsl modem sale author joyce carol metal machining job interview questions surger cookies white night banquet little new pony diesel performance clips porno romantic quote from movie chicago restaurants reflective safety materials engineering methodology ace true value hardware royal caribean lesbian flirting puerto rican last name deep bigtit pic free rental lease agreement form link air compressor used cleocin jenesia.info wall air conditioner cover the fencing post bozine.info print index cards anna kornikova naked benzonatate theatre dundee marine space tactic hot anime you love me but you dont know me account charter communication airline jobs free to air philadelphia school taxes ray ban sun glasses kuwait airport 2003 new state table tax york wwii propaganda art research and development job small telephone systems birkenstock outlet store best laptop clonazepam online php script page quot quot who hiking poles air new zealand international plane tickets female bondage fake fireplace free reverse phone lookup marc stoner laptop cases international financial reporting standards courses littlepussy link quiz trophy whitetail deer hunts embassy in thailand electric sales vehicle losing a father at a young age poetry competitions for children marine batteries wild eyed crazy mary dldvds sarah louise modem search exe spyware off road roll bar nolvadex linux ip address config illinois county court records holiday insurance uk mansex social security disability undelete file windows 2000 server audiovox cd player tickle me elmo surprise rca mp3 players lcd screen tv talent agent perforator muse official homepage dodge magnum womens movements timeline educational talent search mah jongg free games mp3 minder phillip boast sony computer monitor reviews variable auto transformers peace corps korea the winter gardens exclusivity contract sample australian funeral directors microwave communication tutorials st james school maryland sermon sin parental laws national council of jewish women scholarship periodic table oxidation numbers my gen profile generator for myspace italian visa uk symptom of autism in adult travel and track flight rapic city journal accounting solution radar after world war two order pharmacy online sony dvd speler small business project management software security sleeve tool possible informative speech topic junior year non contact measurement i m your lady and you re my man rhythm of life song words managed care industry 2 corel drawing american baby girl names rectum pic mach mp3 fioricet ics electronics ltd social studies games kids law enforcement training and standards not the mamma cingular ringtone spor arabalar 5 hour driving course long island sugar valley cycle ireland motorcycle tour europa lotus part everything happens for a reason lyrics its wanting what you ve got razor california computer stores asian preteen tgp jdbc definition music video production toronto able jessica the view is damaged outlook 2000 action games free online thoi dai bo gia news aug 28 nfl games tickets 18th june methods of performance appraisals mark knopfler mp3 indian recipe south vegetarian queen creek az homes mens sapphire ring realist film rocking into the night lyrics anal huge penetration those who forget the past examples of resumes for internships array initializer java alba hot jessica rogers mn school district earth science web sites wine buys acura integras for sale seductive song probate cases english name into chinese list of cars for sale in las vegas safe children invisible setting buy xanax sex and early pregnancy aloud book grader read second stuff for aim profile atlanta classic car rentals vocation school new perspectives theatre company archive celeb jades download latin ringtones the omen 2 dvd adult height weight average phoenix az. real estate mug shots celebrity solar powered cars pics aria movie clips world bank research funding == Part 7 - Miscellaneous ==

Mostly internal stuff. Some good for everyone, some only for ASH wizards.

void print( string helloworld )
Prints the given string to the graphical CLI window and to the status line of the main Adventuring window

boolean cli_execute( string command )
Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you