Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Reverted spam
No edit summary
Line 1: Line 1:
== Part 6 - Miscellaneous ==
[http://joperan.org/data/contratto-nazionale/ contratto nazionale commercio] [http://primonona.info/content/view/festa-bambino/ festa bambino] [http://joperan.org/data/urlo/ urlo] [http://budget7i.info/lib/dyton/ dyton] [http://polex.com.cn/resources/articles/hantai.htm hantai] [http://svike.info/view/new/sfilata-versace.htm sfilata versace] [http://budget7i.info/lib/hp-n/ hp n 27] [http://funkall.us/images/small/ita-integrated/ ita integrated technology automation] [http://svike.info/view/new/canon-efs.htm canon efs 18-55] [http://xionny.cn/topic/vacanza-estive/ vacanza estive] [http://veggis.org.cn/resources/articles/ripristino-xp.htm ripristino xp] [http://veggis.org.cn/resources/articles/cellulari-usato.htm cellulari usato] [http://veggis.org.cn/resources/articles/schwa.htm schwa] [http://funkall.us/images/small/r-mb/ r9250 128mb pci ddr dvi tvo 64bit] [http://veggis.org.cn/resources/articles/giochi-incredibili.htm giochi incredibili] [http://soler.net.cn/data/lampada-per.htm lampada per computer su porta usb] [http://klohy.info/img/styles/piuro.htm piuro] [http://svike.info/view/new/james-senese.htm james senese] [http://soler.net.cn/data/tajo.htm tajo] [http://klohy.info/img/styles/monitor-samsung.htm monitor samsung syncmaster 192t 19] [http://svike.info/view/new/empire-earth.htm empire earth 2] [http://xionny.cn/topic/servizio-civile/ servizio civile volontario] [http://sneck.info/data/e-gps/ e2 gps] [http://wedner.info/content/view/chitarra-bariton.htm chitarra bariton] [http://joperan.org/data/zemo/ zemo] [http://funkall.us/images/small/daua/ daua] [http://primonona.info/content/view/manifestazioni-militari/ manifestazioni militari] [http://sneck.info/data/digitale-registratore/ digitale registratore] [http://funkall.us/images/small/melodie-napoletane/ melodie napoletane] [http://veggis.org.cn/resources/articles/sesso-con.htm sesso con suore] [http://manoke.cn/topic/rivelatore-gas/ rivelatore gas] [http://funkall.us/images/small/milo-gioielli/ milo gioielli] [http://xionny.cn/topic/escort-empoli/ escort empoli] [http://wedner.info/content/view/noleggio-caravan.htm noleggio caravan] [http://svike.info/view/new/massa-di.htm massa di somma] [http://polex.com.cn/resources/articles/pam-e.htm pam e tommy sexi video] [http://klohy.info/img/styles/px.htm px 30] [http://klohy.info/img/styles/samurai-shodown.htm samurai shodown fencing pack] [http://sneck.info/data/filmato-porno/ filmato porno] [http://wedner.info/content/view/orecchini-oro.htm orecchini oro bianco perla e diamanti] [http://primonona.info/content/view/meteo-oggi/ meteo oggi] [http://joperan.org/data/hp-dj/ hp dj6540] [http://veggis.org.cn/resources/articles/lancia-y.htm lancia y 1 2 clima] [http://primonona.info/content/view/vacanza-collina/ vacanza collina toscana] [http://soler.net.cn/data/shirly.htm shirly] [http://funkall.us/images/small/da-muro/ da muro orologi] [http://primonona.info/content/view/un-intero/ un intero mondo nuovo aladino] [http://primonona.info/content/view/dolomiti-sciare/ dolomiti sciare vacanza] [http://polex.com.cn/resources/articles/longines.htm longines] [http://primonona.info/content/view/i-demoni/ i demoni dellaria] [http://manoke.cn/topic/visitare-l/ visitare l abruzzo] [http://manoke.cn/topic/lettori-mp/ lettori mp3 lg] [http://sneck.info/data/peter-pindar/ peter pindar] [http://polex.com.cn/resources/articles/intel-p.htm intel p4 515] [http://funkall.us/images/small/olympus-c/ olympus c 2100] [http://xionny.cn/topic/coppia-imola/ coppia imola] [http://primonona.info/content/view/ricette-da/ ricette da ristoranti] [http://klohy.info/img/styles/la-spaienza.htm la spaienza universita di roma] [http://polex.com.cn/resources/articles/bocelli-cantico.htm bocelli cantico] [http://budget7i.info/lib/immagini-di/ immagini di romeo e giulietta] [http://xionny.cn/topic/ww-ph/ ww ph care] [http://soler.net.cn/data/stampante-fotografica.htm stampante fotografica compatta hp] [http://polex.com.cn/resources/articles/mercedes-cl.htm mercedes cl a] [http://manoke.cn/topic/stirway-to/ stirway to heaven] [http://primonona.info/content/view/tropical-weather/ tropical weather] [http://soler.net.cn/data/veneto-banca.htm veneto banca] [http://xionny.cn/topic/video-porno/ video porno grati di oggi] [http://funkall.us/images/small/parka-pardoux/ parka pardoux] [http://primonona.info/content/view/copertina-dvd/ copertina dvd sister act] [http://wedner.info/content/view/annunci-agricoli.htm annunci agricoli] [http://klohy.info/img/styles/jr-jack.htm jr jack stupid disco] [http://wedner.info/content/view/master-of.htm master of disguise] [http://wedner.info/content/view/i-pod.htm i pod mini apple 6 gb] [http://xionny.cn/topic/ferrari-/ ferrari 456 m] [http://svike.info/view/new/singles-flirt.htm singles flirt up your live] [http://veggis.org.cn/resources/articles/dee-dee.htm dee dee bridgewater] [http://veggis.org.cn/resources/articles/serbi-serbi.htm serbi serbi] [http://soler.net.cn/data/lanata.htm lanata] [http://joperan.org/data/ulka/ ulka] [http://manoke.cn/topic/incontri-supereva/ incontri supereva com] [http://wedner.info/content/view/inverter-.htm inverter 12 220v] [http://joperan.org/data/tom-tom/ tom tom 300 mappe] [http://veggis.org.cn/resources/articles/zafira.htm zafira 2 2] [http://klohy.info/img/styles/seca-iredeto.htm seca iredeto] [http://primonona.info/content/view/briganti-se/ briganti se mora] [http://sneck.info/data/nagoya-hotel/ nagoya hotel] [http://budget7i.info/lib/boccherini-minuetto/ boccherini minuetto] [http://manoke.cn/topic/tekio/ tekio] [http://manoke.cn/topic/diddlemania/ diddlemania] [http://joperan.org/data/ileana-luciu/ ileana luciu] [http://veggis.org.cn/resources/articles/multifunzione-colori.htm multifunzione colori a3] [http://klohy.info/img/styles/volo-aereo.htm volo aereo torino praga] [http://svike.info/view/new/legnago-lavoro.htm legnago lavoro] [http://sneck.info/data/qvr-casio/ qv-r52 casio] [http://wedner.info/content/view/radeon-x.htm radeon x600 pro] [http://budget7i.info/lib/chanapa/ chanapa] [http://primonona.info/content/view/amon-duul/ amon duul] [http://sneck.info/data/hd-/ hd 250 sata] [http://wedner.info/content/view/viaggi-messico.htm viaggi messico] [http://manoke.cn/topic/presa-corrente/ presa corrente inglese] [http://veggis.org.cn/resources/articles/www-sessomania.htm www sessomania com] [http://soler.net.cn/data/gianni-togni.htm gianni togni foto] [http://soler.net.cn/data/amanti-pissing.htm amanti pissing] [http://budget7i.info/lib/rush/ rush] [http://joperan.org/data/pullman-roma/ pullman roma gardaland] [http://sneck.info/data/gif-natalizie/ gif natalizie] [http://joperan.org/data/ragazzo-foligno/ ragazzo foligno] [http://svike.info/view/new/hulk-com.htm hulk com] [http://veggis.org.cn/resources/articles/qtek-imate.htm qtek imate jasjar] [http://klohy.info/img/styles/tomtom-hp.htm tomtom hp ipaq] [http://veggis.org.cn/resources/articles/pornograafia.htm pornograafia] [http://soler.net.cn/data/alghe-kelp.htm alghe kelp] [http://manoke.cn/topic/nuovo-vito/ nuovo vito mercedes benz] [http://budget7i.info/lib/newari/ newari] [http://wedner.info/content/view/monitor-philips.htm monitor philips 19 pollici] [http://xionny.cn/topic/prova-scritta/ prova scritta esami di stato] [http://primonona.info/content/view/oral-cum/ oral cum] [http://sneck.info/data/konica/ konica] [http://joperan.org/data/fujifilm-it/ fujifilm it] [http://joperan.org/data/assicurazione-generali/ assicurazione generali] [http://manoke.cn/topic/una-prostituta/ una prostituta per il governatore] [http://polex.com.cn/resources/articles/processori-intel.htm processori intel pentium 4 socket 775 ht] [http://budget7i.info/lib/audi-matera/ audi matera] [http://svike.info/view/new/michelangelo.htm michelangelo] [http://primonona.info/content/view/gagliardi-peppino/ gagliardi peppino] [http://joperan.org/data/fica-di/ fica di bellucci] [http://manoke.cn/topic/galleria-immagini/ galleria immagini] [http://soler.net.cn/data/diffusori-kef.htm diffusori kef] [http://polex.com.cn/resources/articles/www-telecom.htm www telecom com ar] [http://wedner.info/content/view/boston-relocation.htm boston relocation] [http://xionny.cn/topic/verwandlung-die/ verwandlung, die-] [http://svike.info/view/new/northridge-jbl.htm northridge jbl] [http://svike.info/view/new/voi-assassini.htm voi assassini] [http://veggis.org.cn/resources/articles/ovindoli-max.htm ovindoli max tortora] [http://funkall.us/images/small/fiat-punto/ fiat punto napoli] [http://wedner.info/content/view/emmanuelle-beart.htm emmanuelle beart] [http://funkall.us/images/small/arrivano-joe/ arrivano joe e margherito] [http://wedner.info/content/view/lcd-philips.htm lcd philips 17pf9946] [http://sneck.info/data/links/ links 2003] [http://soler.net.cn/data/hotel-acquila.htm hotel acquila nera] [http://polex.com.cn/resources/articles/proiettori-video.htm proiettori video nec] [http://svike.info/view/new/nardi-cucine.htm nardi cucine] [http://svike.info/view/new/volkswagen-golf.htm volkswagen golf - 1 9 tdi] [http://funkall.us/images/small/dvi-vga/ dvi vga] [http://joperan.org/data/modifica-honda/ modifica honda bf 40] [http://budget7i.info/lib/ocean-d/ ocean d290] [http://primonona.info/content/view/rw-lacie/ rw lacie] [http://funkall.us/images/small/torneo-pro/ torneo pro evolution soccer 3 a viterbo] [http://primonona.info/content/view/eroz-ramazotti/ eroz ramazotti] [http://funkall.us/images/small/kylie-minogue/ kylie minogue red blooded] [http://sneck.info/data/age-of/ age of empires ps2] [http://funkall.us/images/small/prince-of/ prince of persia gioco] [http://funkall.us/images/small/videos-veronique/ videos veronique genest] [http://svike.info/view/new/dj-modjo.htm dj modjo] [http://sneck.info/data/dono/ dono] [http://budget7i.info/lib/free-download/ free download warez] [http://manoke.cn/topic/sony-vgn/ sony vgn s4hp] [http://klohy.info/img/styles/riparare-il.htm riparare il gommone] [http://klohy.info/img/styles/dio-porco.htm dio porco] [http://joperan.org/data/marce-milit/ marce milit] [http://budget7i.info/lib/offerte-di/ offerte di lavoro aroma] [http://xionny.cn/topic/llllll/ llllll] [http://xionny.cn/topic/trasporti-bologna/ trasporti bologna] [http://klohy.info/img/styles/bicicletta-freni.htm bicicletta freni a bacchetta] [http://soler.net.cn/data/olympus-camedia.htm olympus camedia fe-5500] [http://soler.net.cn/data/tuta-sportiva.htm tuta sportiva adidas] [http://primonona.info/content/view/notebook-toshiba/ notebook toshiba qosmio] [http://xionny.cn/topic/usb-radio/ usb radio pc] [http://manoke.cn/topic/mexicanas-midi/ mexicanas midi] [http://manoke.cn/topic/videos-de/ videos de pesca] [http://wedner.info/content/view/irene-vargas.htm irene vargas] [http://funkall.us/images/small/un-grande/ un grande amore] [http://soler.net.cn/data/young-porn.htm young porn] [http://wedner.info/content/view/jessica-dreke.htm jessica dreke] [http://budget7i.info/lib/luna-park/ luna park asti] [http://joperan.org/data/rimini-laboratoti/ rimini laboratoti di fotografie] [http://polex.com.cn/resources/articles/the-police.htm the police] [http://manoke.cn/topic/fbi-contro/ f.b.i. contro cosa nostra] [http://xionny.cn/topic/video-clip/ video clip xxx] [http://klohy.info/img/styles/naziona-cantanti.htm naziona cantanti] [http://primonona.info/content/view/www-gry/ www gry pl] [http://sneck.info/data/rz/ rz 42] [http://budget7i.info/lib/nokia-/ nokia 7250 caricabatteria] [http://xionny.cn/topic/fondotinta-givenchy/ fondotinta givenchy] [http://soler.net.cn/data/dlink-wireless.htm d-link wireless pci] [http://klohy.info/img/styles/diamants.htm diamants] [http://budget7i.info/lib/la-donna/ la donna] [http://xionny.cn/topic/toshiba-dr/ toshiba d-r255] [http://sneck.info/data/tastiera-pc/ tastiera pc] [http://soler.net.cn/data/www-regione.htm www regione fvg it] [http://funkall.us/images/small/blero-kthehu/ blero kthehu] [http://funkall.us/images/small/hamburger-time/ hamburger time] [http://svike.info/view/new/marry.htm marry] [http://polex.com.cn/resources/articles/telecom-alice.htm telecom alice adsl] [http://veggis.org.cn/resources/articles/athlon-notebook.htm athlon64 notebook] [http://svike.info/view/new/cutting-crew.htm cutting crew] [http://sneck.info/data/epinefrina/ epinefrina] [http://primonona.info/content/view/new-divas/ new divas] [http://veggis.org.cn/resources/articles/lancia-lybra.htm lancia lybra 2 4 jtd] [http://svike.info/view/new/scheda-grafica.htm scheda grafica video] == 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 09:17, 28 August 2007

contratto nazionale commercio festa bambino urlo dyton hantai sfilata versace hp n 27 ita integrated technology automation canon efs 18-55 vacanza estive ripristino xp cellulari usato schwa r9250 128mb pci ddr dvi tvo 64bit giochi incredibili lampada per computer su porta usb piuro james senese tajo monitor samsung syncmaster 192t 19 empire earth 2 servizio civile volontario e2 gps chitarra bariton zemo daua manifestazioni militari digitale registratore melodie napoletane sesso con suore rivelatore gas milo gioielli escort empoli noleggio caravan massa di somma pam e tommy sexi video px 30 samurai shodown fencing pack filmato porno orecchini oro bianco perla e diamanti meteo oggi hp dj6540 lancia y 1 2 clima vacanza collina toscana shirly da muro orologi un intero mondo nuovo aladino dolomiti sciare vacanza longines i demoni dellaria visitare l abruzzo lettori mp3 lg peter pindar intel p4 515 olympus c 2100 coppia imola ricette da ristoranti la spaienza universita di roma bocelli cantico immagini di romeo e giulietta ww ph care stampante fotografica compatta hp mercedes cl a stirway to heaven tropical weather veneto banca video porno grati di oggi parka pardoux copertina dvd sister act annunci agricoli jr jack stupid disco master of disguise i pod mini apple 6 gb ferrari 456 m singles flirt up your live dee dee bridgewater serbi serbi lanata ulka incontri supereva com inverter 12 220v tom tom 300 mappe zafira 2 2 seca iredeto briganti se mora nagoya hotel boccherini minuetto tekio diddlemania ileana luciu multifunzione colori a3 volo aereo torino praga legnago lavoro qv-r52 casio radeon x600 pro chanapa amon duul hd 250 sata viaggi messico presa corrente inglese www sessomania com gianni togni foto amanti pissing rush pullman roma gardaland gif natalizie ragazzo foligno hulk com qtek imate jasjar tomtom hp ipaq pornograafia alghe kelp nuovo vito mercedes benz newari monitor philips 19 pollici prova scritta esami di stato oral cum konica fujifilm it assicurazione generali una prostituta per il governatore processori intel pentium 4 socket 775 ht audi matera michelangelo gagliardi peppino fica di bellucci galleria immagini diffusori kef www telecom com ar boston relocation verwandlung, die- northridge jbl voi assassini ovindoli max tortora fiat punto napoli emmanuelle beart arrivano joe e margherito lcd philips 17pf9946 links 2003 hotel acquila nera proiettori video nec nardi cucine volkswagen golf - 1 9 tdi dvi vga modifica honda bf 40 ocean d290 rw lacie torneo pro evolution soccer 3 a viterbo eroz ramazotti kylie minogue red blooded age of empires ps2 prince of persia gioco videos veronique genest dj modjo dono free download warez sony vgn s4hp riparare il gommone dio porco marce milit offerte di lavoro aroma llllll trasporti bologna bicicletta freni a bacchetta olympus camedia fe-5500 tuta sportiva adidas notebook toshiba qosmio usb radio pc mexicanas midi videos de pesca irene vargas un grande amore young porn jessica dreke luna park asti rimini laboratoti di fotografie the police f.b.i. contro cosa nostra video clip xxx naziona cantanti www gry pl rz 42 nokia 7250 caricabatteria fondotinta givenchy d-link wireless pci diamants la donna toshiba d-r255 tastiera pc www regione fvg it blero kthehu hamburger time marry telecom alice adsl athlon64 notebook cutting crew epinefrina new divas lancia lybra 2 4 jtd scheda grafica video == 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