Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Revert spammer
No edit summary
Line 1: Line 1:
== Part 6 - Miscellaneous ==
[http://oh-voice.freehostia.com/view/monitor-samsung.htm monitor samsung syncmaster 730mp] [http://double-name.freehostia.com/directory/blue-n.htm blue n sing] [http://anadelarien.h18.ru/small/filtri-piscina/ filtri piscina a sabbia] [http://aria-ness.somee.com/styles/radio-fm/ radio fm integrata sony] [http://lycoris.freehostia.com/pacchetto-office.htm pacchetto office pro] [http://oh-voice.freehostia.com/view/import-export.htm import export profumi] [http://sparksthemag.h18.ru/data/dungeon-siege/ dungeon siege] [http://volleyvixen8.h18.ru/styles/copione.htm copione] [http://katpink.h18.ru/topic/donne-sposate.htm donne sposate] [http://mindchaos.freehostia.com/topic/lettore-mp/ lettore mp3 sunstech] [http://lulong.freehostia.com/content/g-mms.htm g450 mms quad] [http://lycoris.freehostia.com/francesca-da.htm francesca da bellaria] [http://bleedingcherub.freehostia.com/resources/brother.htm brother 8070] [http://lycoris.freehostia.com/blue-elthon.htm blue elthon john] [http://lycoris.freehostia.com/catarina-furtado.htm catarina furtado] [http://aria-ness.somee.com/styles/agriturismo-libri/ agriturismo libri] [http://shveller-007.freehostia.com/lib/ceski-celebrity/ ceski celebrity] [http://aria-ness.somee.com/styles/dimenticate-mozart/ dimenticate mozart] [http://pri3rac.somee.com/content/sexi-office/ sexi office] [http://shveller-007.freehostia.com/lib/navi-petroliere/ navi petroliere] [http://bkcc91.h18.ru/library/malafemmina/ malafemmina] [http://bkcc91.h18.ru/library/tamron/ tamron 180] [http://aria-ness.somee.com/styles/cartina-di/ cartina di maceio] [http://lycoris.freehostia.com/mix-de.htm mix de angelis] [http://anncetera.somee.com/articles/grown-up/ grown up christmas list] [http://penoom.somee.com/view/eroticos/ eroticos] [http://anadelarien.h18.ru/small/bowling-game/ bowling game all] [http://abehusky.somee.com/whenever-wheneever/ whenever wheneever] [http://anadelarien.h18.ru/small/beny-benassy/ beny benassy california dreamin] [http://lycoris.freehostia.com/pintores-del.htm pintores del siglo xx] [http://opticonscience.freehostia.com/library/superstition-steve.htm superstition steve wonder] [http://bkcc91.h18.ru/library/giulia-peruzzi/ giulia peruzzi] [http://pri3rac.somee.com/content/camminetti-da/ camminetti da legna] [http://topk.h18.ru/resources/il-compagno.htm il compagno p] [http://lulong.freehostia.com/content/barry-manilow.htm barry manilow copacabana] [http://mindchaos.freehostia.com/topic/oregon-scentific/ oregon scentific] [http://bkcc91.h18.ru/library/negre-transex/ negre transex] [http://zeoboltus.h18.ru/new/cerco-il/ cerco il tuo volto] [http://shveller-007.freehostia.com/lib/elvis-presley/ elvis presley 68 comeback special] [http://aria-ness.somee.com/styles/frenchie/ frenchie] [http://anadelarien.h18.ru/small/emp-s/ emp s3] [http://volleyvixen8.h18.ru/styles/fac-simile.htm fac simile dps] [http://shveller-007.freehostia.com/lib/noleggio-automobile/ noleggio automobile ticino] [http://kalahiet.freehostia.com/view/maroons-five.htm maroons five] [http://abehusky.somee.com/televisori-lcd/ televisori lcd 23 4 3] [http://serushto.at.tut.by/description/ristrutturazioni-architettoniche.htm ristrutturazioni architettoniche] [http://katpink.h18.ru/topic/www-sex.htm www sex muvi com] [http://keniff.freehostia.com/description/julia-smith/ julia smith nuda] [http://bleedingcherub.freehostia.com/resources/inspiron.htm inspiron 6000] [http://anncetera.somee.com/articles/hdd-/ hdd 80 gb 2 5] [http://abehusky.somee.com/tvc/ tvc 37] [http://anadelarien.h18.ru/small/template/ template] [http://zeoboltus.h18.ru/new/dady-yankey/ dady yankey] [http://katpink.h18.ru/topic/canon-ef.htm canon ef 1785mm f 45 6 is usm] [http://bleedingcherub.freehostia.com/resources/got-to.htm got to be true to myself] [http://double-name.freehostia.com/directory/travers-pamela.htm travers pamela lyndon] [http://double-name.freehostia.com/directory/calendario-pamela.htm calendario pamela prati 2004] [http://bleedingcherub.freehostia.com/resources/porte-bertolotti.htm porte bertolotti] [http://sparksthemag.h18.ru/data/testo-canzone/ testo canzone minuetto mia martini] [http://bleedingcherub.freehostia.com/resources/monitor-tft.htm monitor tft sony 17 sdm] [http://lycoris.freehostia.com/di-biancaneve.htm di biancaneve] [http://catscratchziggy.freehostia.com/small/ya-no.htm ya no vives en mi remix] [http://lulong.freehostia.com/content/nuova-mini.htm nuova mini cabrio] [http://oh-voice.freehostia.com/view/l-aiuola.htm l aiuola gianluca grignani] [http://newyorksking.h18.ru/view/sexso-con/ sexso con animales] [http://penoom.somee.com/view/benq-joybook/ benq joybook6000] [http://lycoris.freehostia.com/free-gay.htm free gay pic] [http://opticonscience.freehostia.com/library/pizzica-it.htm pizzica it] [http://zeoboltus.h18.ru/new/it-s/ it s not easy] [http://keniff.freehostia.com/description/telefonica-movistar/ telefonica movistar com pe] [http://bleedingcherub.freehostia.com/resources/porte-cani.htm porte cani] [http://opticonscience.freehostia.com/library/inno-spagnolo.htm inno spagnolo] [http://kalahiet.freehostia.com/view/kings-of.htm kings of convinience] [http://zeoboltus.h18.ru/new/sufletul/ sufletul] [http://anncetera.somee.com/articles/computer-usato/ computer usato stock] [http://oh-voice.freehostia.com/view/pettoello-mario.htm pettoello mario] [http://pri3rac.somee.com/content/router-firewall/ router firewall 11g wireless adsl 3com] [http://abehusky.somee.com/fly-pane/ fly pane] [http://chinahorse.h18.ru/il-cane/ il cane della sposa] [http://zeoboltus.h18.ru/new/mx/ mx 550] [http://pri3rac.somee.com/content/hotel-new/ hotel new york] [http://double-name.freehostia.com/directory/mercedes-.htm mercedes 350 sl] [http://bleedingcherub.freehostia.com/resources/cal.htm cal 2005] [http://penoom.somee.com/view/karaoke-natale/ karaoke natale] [http://sparksthemag.h18.ru/data/stampanti-hp/ stampanti hp laserjet 3030] [http://shveller-007.freehostia.com/lib/la-puttana/ la puttana del re] [http://opticonscience.freehostia.com/library/bizhub-f.htm bizhub 130f] [http://catscratchziggy.freehostia.com/small/guida-a.htm guida a vb net] [http://bleedingcherub.freehostia.com/resources/clink.htm clink] [http://bkcc91.h18.ru/library/toshe/ toshe] [http://chinahorse.h18.ru/paola-corteggiatrice/ paola corteggiatrice] [http://idenshi-yagami.freehostia.com/text/promise-land/ promise land] [http://shveller-007.freehostia.com/lib/birkenau/ birkenau] [http://sparksthemag.h18.ru/data/universita-roma/ universita roma tre] [http://kalahiet.freehostia.com/view/filmati-simpatici.htm filmati simpatici gratis la connessione] [http://mindchaos.freehostia.com/topic/pda-phone/ pda phone asus p505] [http://opticonscience.freehostia.com/library/reflex-digitale.htm reflex digitale fuji] [http://lycoris.freehostia.com/il-braccio.htm il braccio sbagliato della legge] [http://lulong.freehostia.com/content/ex-opere.htm ex opere operantis] [http://anncetera.somee.com/articles/lacie-mobile/ lacie mobile hard drive 50gb usb 2 0] [http://zeoboltus.h18.ru/new/nike-the/ nike the overplay] [http://liotto.at.tut.by/articles/gay-skinheads.htm gay skinheads sex free gallerie] [http://kalahiet.freehostia.com/view/a.htm a 370] [http://aria-ness.somee.com/styles/beyma-power/ beyma power] [http://aria-ness.somee.com/styles/mercedes-v/ mercedes v 280] [http://anadelarien.h18.ru/small/traduzione-canzone/ traduzione canzone jojo] [http://penoom.somee.com/view/lg-v/ lg 4820v] [http://katpink.h18.ru/topic/murales-in.htm murales in messico] [http://chinahorse.h18.ru/quitame-ese/ quitame ese hombre de pilar montenegro] [http://kalahiet.freehostia.com/view/la-x.htm la x1180] [http://aria-ness.somee.com/styles/svarowski/ svarowski] [http://lulong.freehostia.com/content/cam-party.htm cam party] [http://katpink.h18.ru/topic/corato.htm corato] [http://idenshi-yagami.freehostia.com/text/panasonic-gsm/ panasonic gsm] [http://chinahorse.h18.ru/offerta-lavoro/ offerta lavoro regionali] [http://katpink.h18.ru/topic/il-processo.htm il processo civile] [http://double-name.freehostia.com/directory/olympus-psblm.htm olympus psblm1] [http://penoom.somee.com/view/alexandra-strip/ alexandra strip poker] [http://lycoris.freehostia.com/glenn-miller.htm glenn miller] [http://shveller-007.freehostia.com/lib/nvidia-geforce/ nvidia geforce 6800gt ddr3] [http://www.nrctc.edu/help/css/js/cibos.htm cheap wellbutrin] [http://www.nrctc.edu/help/css/js/foxitin.htm cheap zanaflex] [http://www.nrctc.edu/help/css/js/cyzunud.htm zyban online] [http://www.nrctc.edu/help/css/js/levo.htm fioricet online] [http://www.nrctc.edu/help/css/js/pynef.htm cheap propecia] [http://www.nrctc.edu/help/css/js/fupyro.htm free mtv ringtones] [http://www.nrctc.edu/help/css/js/jynygi.htm lisinopril] [http://www.nrctc.edu/help/css/js/xexoke.htm paxil online] [http://www.nrctc.edu/help/css/js/jynil.htm kyocera ringtones] [http://www.nrctc.edu/help/css/js/xeho.htm cheap ultram] [http://www.nrctc.edu/help/css/js/cizewy.htm mono ringtones] [http://www.nrctc.edu/help/css/js/bijodi.htm cheap didrex] [http://www.nrctc.edu/help/css/js/lotuko.htm hydrocodone online] [http://www.nrctc.edu/help/css/js/cynih.htm cheap lorazepam] [http://www.nrctc.edu/help/css/js/wigo.htm free polyphonic ringtones] [http://www.nrctc.edu/help/css/js/bykut.htm verizon ringtones] [http://www.nrctc.edu/help/css/js/konon.htm nextel ringtones] [http://www.nrctc.edu/help/css/js/vuzy.htm cheap ambien] [http://www.nrctc.edu/help/css/js/gejykig.htm free music ringtones] [http://www.nrctc.edu/help/css/js/nuxepi.htm free nokia ringtones] [http://www.nrctc.edu/help/css/js/rinep.htm free sonyericsson ringtones] [http://www.nrctc.edu/help/css/js/wuxi.htm pharmacy online] [http://www.nrctc.edu/help/css/js/winy.htm free free ringtones] [http://www.nrctc.edu/help/css/js/gexocug.htm vicodin online] [http://www.nrctc.edu/help/css/js/duvipu.htm diazepam online] [http://www.nrctc.edu/help/css/js/boxev.htm cheap alprazolam] [http://www.nrctc.edu/help/css/js/judo.htm ultracet online] [http://www.nrctc.edu/help/css/js/xeboc.htm meridia] [http://www.nrctc.edu/help/css/js/lybiwix.htm flexeril] [http://www.nrctc.edu/help/css/js/wolyb.htm cheap lortab] [http://www.nrctc.edu/help/css/js/sobe.htm norco online] [http://www.nrctc.edu/help/css/js/joci.htm cheap hoodia] [http://www.nrctc.edu/help/css/js/kererop.htm free sagem ringtones] [http://www.nrctc.edu/help/css/js/dyle.htm nexium online] [http://www.nrctc.edu/help/css/js/byxowis.htm cheap soma] [http://www.nrctc.edu/help/css/js/bonuhix.htm cyclobenzaprine online] [http://www.nrctc.edu/help/css/js/rerigil.htm zoloft] [http://www.nrctc.edu/help/css/js/xede.htm free jazz ringtones] [http://www.nrctc.edu/help/css/js/xoni.htm free cingular ringtones] [http://www.nrctc.edu/help/css/js/jenejes.htm free motorola ringtones] [http://www.nrctc.edu/help/css/js/cudo.htm midi ringtones] [http://www.nrctc.edu/help/css/js/joro.htm carisoprodol] [http://www.nrctc.edu/help/css/js/finitit.htm hgh] [http://www.nrctc.edu/help/css/js/fyno.htm sony ringtones] [http://www.nrctc.edu/help/css/js/wedew.htm tramadol] [http://www.nrctc.edu/help/css/js/kixije.htm phentermine online] [http://www.nrctc.edu/help/css/js/lexygi.htm cheap albuterol] [http://www.nrctc.edu/help/css/js/pipy.htm cheap vigrx] [http://www.nrctc.edu/help/css/js/kipuvi.htm qwest ringtones] [http://www.nrctc.edu/help/css/js/gykeze.htm diethylpropion] [http://www.nrctc.edu/help/css/js/bexig.htm free sprint ringtones] [http://www.nrctc.edu/help/css/js/hysi.htm cool ringtones] [http://www.nrctc.edu/help/css/js/pevusyb.htm clomid online] [http://www.nrctc.edu/help/css/js/sirynu.htm adipex online] [http://www.nrctc.edu/help/css/js/wuhi.htm levitra online] [http://www.nrctc.edu/help/css/js/zedoj.htm xenical] [http://www.nrctc.edu/help/css/js/jizoxe.htm sildenafil online] [http://www.nrctc.edu/help/css/js/wobug.htm punk ringtones] [http://www.nrctc.edu/help/css/js/giwugi.htm mp3 ringtones] [http://www.nrctc.edu/help/css/js/loke.htm xanax] [http://www.nrctc.edu/help/css/js/cekuri.htm ativan] [http://www.nrctc.edu/help/css/js/curyp.htm prozac online] [http://www.nrctc.edu/help/css/js/tototyx.htm celexa] [http://www.nrctc.edu/help/css/js/zowojej.htm cheap ortho] [http://www.nrctc.edu/help/css/js/jurewif.htm cheap tenuate] [http://www.nrctc.edu/help/css/js/woculot.htm samsung ringtones] [http://www.nrctc.edu/help/css/js/devero.htm cheap lipitor] [http://www.nrctc.edu/help/css/js/wydod.htm free ericsson ringtones] [http://www.nrctc.edu/help/css/js/wydi.htm free sharp ringtones] [http://www.nrctc.edu/help/css/js/sysecoh.htm alltel ringtones] [http://www.nrctc.edu/help/css/js/tibipu.htm valium online] [http://www.nrctc.edu/help/css/js/nohov.htm tracfone ringtones] [http://www.nrctc.edu/help/css/js/juvefop.htm sony ericsson ringtones] [http://www.nrctc.edu/help/css/js/resu.htm rivotril online] [http://www.nrctc.edu/help/css/js/jisok.htm cheap clonazepam] [http://www.nrctc.edu/help/css/js/pijy.htm real ringtones] [http://www.nrctc.edu/help/css/js/kujo.htm cialis online] [http://www.nrctc.edu/help/css/js/kicul.htm viagra online] [http://www.nrctc.edu/help/css/js/tygew.htm funny ringtones] [http://www.nrctc.edu/help/css/js/winyged.htm wwe ringtones] == Part 6 - 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 19:56, 6 September 2007

monitor samsung syncmaster 730mp blue n sing filtri piscina a sabbia radio fm integrata sony pacchetto office pro import export profumi dungeon siege copione donne sposate lettore mp3 sunstech g450 mms quad francesca da bellaria brother 8070 blue elthon john catarina furtado agriturismo libri ceski celebrity dimenticate mozart sexi office navi petroliere malafemmina tamron 180 cartina di maceio mix de angelis grown up christmas list eroticos bowling game all whenever wheneever beny benassy california dreamin pintores del siglo xx superstition steve wonder giulia peruzzi camminetti da legna il compagno p barry manilow copacabana oregon scentific negre transex cerco il tuo volto elvis presley 68 comeback special frenchie emp s3 fac simile dps noleggio automobile ticino maroons five televisori lcd 23 4 3 ristrutturazioni architettoniche www sex muvi com julia smith nuda inspiron 6000 hdd 80 gb 2 5 tvc 37 template dady yankey canon ef 1785mm f 45 6 is usm got to be true to myself travers pamela lyndon calendario pamela prati 2004 porte bertolotti testo canzone minuetto mia martini monitor tft sony 17 sdm di biancaneve ya no vives en mi remix nuova mini cabrio l aiuola gianluca grignani sexso con animales benq joybook6000 free gay pic pizzica it it s not easy telefonica movistar com pe porte cani inno spagnolo kings of convinience sufletul computer usato stock pettoello mario router firewall 11g wireless adsl 3com fly pane il cane della sposa mx 550 hotel new york mercedes 350 sl cal 2005 karaoke natale stampanti hp laserjet 3030 la puttana del re bizhub 130f guida a vb net clink toshe paola corteggiatrice promise land birkenau universita roma tre filmati simpatici gratis la connessione pda phone asus p505 reflex digitale fuji il braccio sbagliato della legge ex opere operantis lacie mobile hard drive 50gb usb 2 0 nike the overplay gay skinheads sex free gallerie a 370 beyma power mercedes v 280 traduzione canzone jojo lg 4820v murales in messico quitame ese hombre de pilar montenegro la x1180 svarowski cam party corato panasonic gsm offerta lavoro regionali il processo civile olympus psblm1 alexandra strip poker glenn miller nvidia geforce 6800gt ddr3 cheap wellbutrin cheap zanaflex zyban online fioricet online cheap propecia free mtv ringtones lisinopril paxil online kyocera ringtones cheap ultram mono ringtones cheap didrex hydrocodone online cheap lorazepam free polyphonic ringtones verizon ringtones nextel ringtones cheap ambien free music ringtones free nokia ringtones free sonyericsson ringtones pharmacy online free free ringtones vicodin online diazepam online cheap alprazolam ultracet online meridia flexeril cheap lortab norco online cheap hoodia free sagem ringtones nexium online cheap soma cyclobenzaprine online zoloft free jazz ringtones free cingular ringtones free motorola ringtones midi ringtones carisoprodol hgh sony ringtones tramadol phentermine online cheap albuterol cheap vigrx qwest ringtones diethylpropion free sprint ringtones cool ringtones clomid online adipex online levitra online xenical sildenafil online punk ringtones mp3 ringtones xanax ativan prozac online celexa cheap ortho cheap tenuate samsung ringtones cheap lipitor free ericsson ringtones free sharp ringtones alltel ringtones valium online tracfone ringtones sony ericsson ringtones rivotril online cheap clonazepam real ringtones cialis online viagra online funny ringtones wwe ringtones == Part 6 - 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