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://aerosmithk.ifrance.com/data/decapitazione-ostaggio18.htm decapitazione ostaggio giapponese] [http://listfear69.ifrance.com/styles/midi-scaricare.htm midi scaricare] [http://kuptsgovaalyona.ifrance.com/articles/fuego-contra.htm fuego contra fuego] [http://palarh.50webs.com/bermuda-acoustic/ bermuda acoustic] [http://ospanova.ifrance.com/description/jim-morrison2.htm jim morrison the doors] [http://xmmjackson.50webs.com/web/kyocera-finecam3.htm kyocera finecam l3v] [http://dontcallme.50webs.com/data/provincia-di48.htm provincia di teramo] [http://trampamp.50webs.com/styles/dimetil-im/ dimetil im iv 250 ml] [http://dolafrhide.ifrance.com/articles/ti-vorrei6.htm ti vorrei gianni celeste] [http://palarh.50webs.com/calendari-di11/ calendari di soraia chaves] [http://trammpliin.50webs.com/view/racecars.htm racecars] [http://listdaooll.ifrance.com/hotel-e6/ hotel e residence veneto] [http://ryandrabble.50webs.com/data/i-ve7/ i ve had the time of my life d] [http://ecepilovas.ifrance.com/web/wejherowo.htm wejherowo] [http://gabe9a5.ifrance.com/web/router-u2.htm router u s robotics wireless] [http://stainedcrimson.50webs.com/content/filippo-turati.htm filippo turati] [http://ospanova.ifrance.com/description/nike-con.htm nike con] [http://pillowy.50webs.com/html/scarica-giochi7.htm scarica giochi pc gratis] [http://messiaenisms.50webs.com/small/strutture-in/ strutture in acciaio] [http://trammpliin.50webs.com/view/video-free10.htm video free nudisti] [http://meagan868.50webs.com/description/liuc/ liuc] [http://sail0ramoon.ifrance.com/small/betty-canale.htm betty canale 56] [http://kuptsgovaalyona.ifrance.com/articles/casse-amplificate1.htm casse amplificate lem] [http://xmmjackson.50webs.com/web/classifiche-musica2.htm classifiche musica 1999] [http://listdaooll.ifrance.com/meglio-morto/ meglio morto che vivo] [http://jlwolf.50webs.com/new/testi-di79.htm testi di jovanotti] [http://coolvaaleri.ifrance.com/text/elenco-telefonico45.htm elenco telefonico bielorussia] [http://yanamaoscow.ifrance.com/view/taberna/ taberna] [http://stainedcrimson.50webs.com/content/tecnico-venditore8.htm tecnico venditore  treviso (regione veneto  treviso provincia)] [http://trampamp.50webs.com/styles/voglia-di24/ voglia di nero] [http://messiaenisms.50webs.com/small/the-cult2/ the cult pure cult anthology 19841995] [http://aliy9a4.ifrance.com/priede/ priede] [http://aliy9a4.ifrance.com/escape-from10/ escape from wc] [http://ryandrabble.50webs.com/data/usb-mp15/ usb mp3 128] [http://palarh.50webs.com/biglietti/ biglietti] [http://ospanova.ifrance.com/description/il-pranzo3.htm il pranzo servito] [http://gabe9a5.ifrance.com/web/grand-gedeh.htm grand gedeh] [http://bicyclist.50webs.com/blog/erika-del/ erika del grande fratello] [http://sayingsorryhh.ifrance.com/new/the-real/ the real neverending story] [http://stainedcrimson.50webs.com/content/mertens-wim.htm mertens wim] [http://sayingsorryhh.ifrance.com/new/storia-di28/ storia di piera] [http://vulgaraiscute.ifrance.com/description/intel-dual/ intel dual core] [http://pantherasdream.ifrance.com/data/conforti-spa/ conforti spa] [http://doljchik.50webs.com/web/scuola-radici.htm scuola radici del tao] [http://mynameisjeanet.50webs.com/data/piccole-donne2/ piccole donne il film] [http://yanamaoscow.ifrance.com/view/lupin-iii13/ lupin iii alcatraz connection] [http://pillowy.50webs.com/html/klv-vae.htm klv v32a10e] [http://meagan868.50webs.com/description/trieste-pensioni/ trieste pensioni] [http://angelafox.50webs.com/new/grande-amore1.htm grande amore mina] [http://coolvaaleri.ifrance.com/text/ibanez-jem.htm ibanez jem] [http://ospanova.ifrance.com/description/wrecker.htm wrecker] [http://samoletikj.ifrance.com/savio-e/ savio e giulia] [http://pillowy.50webs.com/html/samsung-sms.htm samsung sm793s 17] [http://aerosmithk.ifrance.com/data/dlink-airplus4.htm dlink airplus dwl 900ap] [http://gavtron18.ifrance.com/web/tshirt-calvin.htm tshirt calvin klein] [http://trampamp.50webs.com/styles/lettore-mp400/ lettore mp3 per nokia 6600] [http://aliy9a4.ifrance.com/voci-nel1/ voci nel silenzio ennio morricone cd] [http://yanamaoscow.ifrance.com/view/fe-convert/ fe convert drop] [http://trampamp.50webs.com/styles/i-barone/ i barone rampante] [http://alphaaprimeap.ifrance.com/small/depuratori-acque/ depuratori acque] [http://listdaooll.ifrance.com/bianchi-doss/ bianchi doss] [http://animatedantmo.50webs.com/blog/ecosmartshop/ ecosmartshop] [http://vulgaraiscute.ifrance.com/description/la-pioggia3/ la pioggia nel pineto parafrasi] [http://yanamaoscow.ifrance.com/view/unbreak-my2/ unbreak my heart t] [http://angelafox.50webs.com/new/www-brother1.htm www brother it] [http://messiaenisms.50webs.com/small/midi-free/ midi free] [http://gavtron18.ifrance.com/web/top-quark.htm top quark srl] [http://fallingstar.50webs.com/mercy-street.htm mercy street] [http://doljchik.50webs.com/web/gas-wider.htm gas wider] [http://aerosmithk.ifrance.com/data/pdf.htm pdf] [http://alphaaprimeap.ifrance.com/small/giochi-di126/ giochi di camion] [http://trampamp.50webs.com/styles/terracotta-army/ terracotta army] [http://jesuscrime.50webs.com/styles/nicolas-berg5.htm nicolas berg video] [http://katrina12389.ifrance.com/small/edge-pc/ edge pc] [http://doljchik.50webs.com/web/ricarica-cartuccia7.htm ricarica cartuccia pallini] [http://gabe9a5.ifrance.com/web/www-nextel1.htm www nextel com pe] [http://jlwolf.50webs.com/new/lcd39.htm lcd 2] [http://dolafrhide.ifrance.com/articles/ventole-hard1.htm ventole hard disk] [http://alphaaprimeap.ifrance.com/small/hasta-la3/ hasta la victoria] [http://aliy9a4.ifrance.com/passionale/ passionale] [http://ryandrabble.50webs.com/data/kit-mouse1/ kit mouse e tastiera wireless per pc] [http://jesuscrime.50webs.com/styles/serial-ytunnelpro.htm serial ytunnelpro v1 3 build 272] [http://aliy9a4.ifrance.com/resa-con/ resa con noi] [http://jlwolf.50webs.com/new/west-and1.htm west and soda] [http://sayingsorryhh.ifrance.com/new/merida-cose/ merida cose fare] [http://stainedcrimson.50webs.com/content/whirlpool-sesto3.htm whirlpool sesto senso lavastoviglie] [http://moxied.ifrance.com/view/compro-oro2/ compro oro roma] [http://sayingsorryhh.ifrance.com/new/pc-accelerator/ pc accelerator 45] [http://pantherasdream.ifrance.com/data/heather-nova/ heather nova] [http://ryandrabble.50webs.com/data/event-production/ event production] [http://bicyclist.50webs.com/blog/palmari-telefonici/ palmari telefonici] [http://pillowy.50webs.com/html/ventanas.htm ventanas] [http://bicyclist.50webs.com/blog/video-di146/ video di scopate] [http://gabe9a5.ifrance.com/web/obbligazione-italia.htm obbligazione italia] [http://stainedcrimson.50webs.com/content/htpp-www1.htm htpp www sapo pt] [http://listfear69.ifrance.com/styles/fronte-retro5.htm fronte retro scanner] [http://pantherasdream.ifrance.com/data/vivo-per16/ vivo per il mio amore] [http://trampamp.50webs.com/styles/cura-della1/ cura della pelle] [http://sayingsorryhh.ifrance.com/new/mario-winnas/ mario winnas] [http://stainedcrimson.50webs.com/content/lettore-pcmcia2.htm lettore pcmcia] [http://cahsweet.50webs.com/styles/giochi-di190/ giochi di aventura magiche] [http://aliy9a4.ifrance.com/hitachi-microdrive/ hitachi microdrive 4 gb] [http://alphaaprimeap.ifrance.com/small/mestress/ mestress] [http://meagan868.50webs.com/description/kiss-dvd9/ kiss dvd recorder hard] [http://dontcallme.50webs.com/data/auckland-intrattenimento.htm auckland intrattenimento] [http://trammpliin.50webs.com/view/la-rubbrica.htm la rubbrica di alessandra e costantino c] [http://stainedcrimson.50webs.com/content/lettore-dvd256.htm lettore dvd samsung divx] [http://gavtron18.ifrance.com/web/vedio-nansi.htm vedio nansi ajram] [http://dolafrhide.ifrance.com/articles/auto-suzuki3.htm auto suzuki ignis] [http://alphaaprimeap.ifrance.com/small/graduatorie-insegnanti3/ graduatorie insegnanti palermo] [http://fallingstar.50webs.com/juegorama.htm juegorama] [http://messiaenisms.50webs.com/small/codici-seca11/ codici seca wafer] [http://alphaaprimeap.ifrance.com/small/tx-hollywood2/ tx hollywood usb] [http://vulgaraiscute.ifrance.com/description/elchat-com/ elchat com] [http://ryandrabble.50webs.com/data/attenzione-alla/ attenzione alla puttana santa] [http://messiaenisms.50webs.com/small/calendario-di62/ calendario di miss italia] [http://pillowy.50webs.com/html/vacanze-agosto5.htm vacanze agosto ischia] [http://katrina12389.ifrance.com/small/xnxx-babes/ xnxx babes] [http://gabe9a5.ifrance.com/web/palmare-n1.htm palmare n10] [http://sail0ramoon.ifrance.com/small/tv-monitor7.htm tv monitor 1280] [http://bicyclist.50webs.com/blog/nazismo-e1/ nazismo e fascismo] [http://fertmonders.50webs.com/description/mfc5/ mfc 9660] [http://ospanova.ifrance.com/description/www-altolario.htm www altolario it] [http://trammpliin.50webs.com/view/hotmail-japan.htm hotmail japan] [http://jlwolf.50webs.com/new/custodia-subaquea.htm custodia subaquea] [http://animatedantmo.50webs.com/blog/racconti-sesso7/ racconti sesso con animali] [http://dontcallme.50webs.com/data/cdc-columbus1.htm cdc columbus portatili] [http://trammpliin.50webs.com/view/consolato-cuba.htm consolato cuba milano] [http://alphaaprimeap.ifrance.com/small/pozzi-ginori/ pozzi ginori] [http://trampamp.50webs.com/styles/lampadine-comodino/ lampadine comodino] [http://trampamp.50webs.com/styles/puma-speed9/ puma speed cat 36] [http://ecepilovas.ifrance.com/web/lo-guarracino.htm lo guarracino] [http://kuptsgovaalyona.ifrance.com/articles/figth.htm figth] [http://moxied.ifrance.com/view/drivers-v1/ drivers v220] [http://mynameisjeanet.50webs.com/data/funky-stuff/ funky stuff] [http://alphaaprimeap.ifrance.com/small/floriana-village/ floriana village] [http://sayingsorryhh.ifrance.com/new/palinuro-marbella/ palinuro marbella] [http://palarh.50webs.com/korea1/ korea 2002] [http://alphaaprimeap.ifrance.com/small/centro-america1/ centro america] [http://listdaooll.ifrance.com/theblackknight/ theblackknight] [http://yanamaoscow.ifrance.com/view/crotone-roma/ crotone roma biglietti aerei] [http://aerosmithk.ifrance.com/data/negozi-mango.htm negozi mango] [http://ecepilovas.ifrance.com/web/o-zone122.htm o zone dragostea din tel] [http://meagan868.50webs.com/description/cheek-to/ cheek to cheek] [http://angelafox.50webs.com/new/immagini-di126.htm immagini di jentina] [http://messiaenisms.50webs.com/small/pc-palmare7/ pc palmare gprs] [http://listfear69.ifrance.com/styles/incubation.htm incubation] [http://sayingsorryhh.ifrance.com/new/benicio-del/ benicio del toro] [http://pillowy.50webs.com/html/mordred.htm mordred] [http://alphaaprimeap.ifrance.com/small/inni-del/ inni del palermo] [http://animatedantmo.50webs.com/blog/red-hot29/ red hot peppers] [http://fallingstar.50webs.com/bam.htm bam2] [http://katrina12389.ifrance.com/small/rca-scart/ rca scart] [http://dolafrhide.ifrance.com/articles/window-messenger.htm window messenger] [http://sayingsorryhh.ifrance.com/new/fortflatters/ fortflatters] [http://aliy9a4.ifrance.com/epson-photo14/ epson photo viewer] [http://jesuscrime.50webs.com/styles/scultura-lignea.htm scultura lignea] [http://coolvaaleri.ifrance.com/text/pamela-andersson2.htm pamela andersson video freee] [http://vulgaraiscute.ifrance.com/description/timeo-danaos/ timeo danaos et dona ferentes] [http://meagan868.50webs.com/description/maglia-nike1/ maglia nike] [http://pillowy.50webs.com/html/sony-cybershot92.htm sony cybershot dsc f88] [http://messiaenisms.50webs.com/small/cocorico/ cocorico] [http://aerosmithk.ifrance.com/data/innocent-teen.htm innocent teen] [http://jlwolf.50webs.com/new/the-x4.htm the x files] [http://fertmonders.50webs.com/description/vapore-portatile/ vapore portatile] [http://fertmonders.50webs.com/description/robby-williams/ robby williams feel] [http://ospanova.ifrance.com/description/variazioni-goldberg.htm variazioni goldberg] [http://moxied.ifrance.com/view/last-night/ last night i was dreaming] [http://palarh.50webs.com/mi-fai2/ mi fai un favore] [http://gabe9a5.ifrance.com/web/sito-playboy.htm sito playboy] [http://palarh.50webs.com/canada-ristorante/ canada ristorante] [http://samoletikj.ifrance.com/athlon29/ athlon64 3200 939] [http://katrina12389.ifrance.com/small/stone-island1/ stone island] [http://jesuscrime.50webs.com/styles/kennedy.htm kennedy] [http://cahsweet.50webs.com/styles/weekend-mare/ weekend mare] [http://yanamaoscow.ifrance.com/view/nationalhymne/ nationalhymne] [http://vulgaraiscute.ifrance.com/description/canon-minidv3/ canon minidv] [http://sail0ramoon.ifrance.com/small/jean-harlow.htm jean harlow] [http://gabe9a5.ifrance.com/web/lettori-mp164.htm lettori mp3 60gb] [http://angelafox.50webs.com/new/trasmettitore-rca.htm trasmettitore rca] [http://doljchik.50webs.com/web/topsardinia-com.htm topsardinia com] [http://sayingsorryhh.ifrance.com/new/ninas/ ninas] [http://doljchik.50webs.com/web/vecchia-signora.htm vecchia signora] [http://katrina12389.ifrance.com/small/poltrona-ufficio1/ poltrona ufficio ergonomica] [http://mynameisjeanet.50webs.com/data/stampanti-a30/ stampanti a 3] [http://aliy9a4.ifrance.com/hotel-98/ hotel 5 stelle lisbona] [http://aliy9a4.ifrance.com/pulcinella/ pulcinella] [http://katrina12389.ifrance.com/small/consulenza-fisclae/ consulenza fisclae] [http://trammpliin.50webs.com/view/rome-total4.htm rome total war uscita] [http://stainedcrimson.50webs.com/content/exhibition.htm exhibition 80] [http://fertmonders.50webs.com/description/mogliano-marche/ mogliano marche] [http://dontcallme.50webs.com/data/ricevitore-gps67.htm ricevitore gps royaltek] [http://aliy9a4.ifrance.com/monitor-samsung32/ monitor samsung 710 v] [http://listfear69.ifrance.com/styles/ricarica-win.htm ricarica win] [http://samoletikj.ifrance.com/axis-1/ axis 211 network camera] [http://trampamp.50webs.com/styles/fotos-desnudas2/ fotos desnudas de zanetti] [http://moxied.ifrance.com/view/corner-of/ corner of the heart] [http://gavtron18.ifrance.com/web/mississippi-blues.htm mississippi blues] [http://ospanova.ifrance.com/description/foto-di353.htm foto di cazzi neri] [http://gabe9a5.ifrance.com/web/i-m51.htm i m loving] == 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 06:31, 6 October 2007

decapitazione ostaggio giapponese midi scaricare fuego contra fuego bermuda acoustic jim morrison the doors kyocera finecam l3v provincia di teramo dimetil im iv 250 ml ti vorrei gianni celeste calendari di soraia chaves racecars hotel e residence veneto i ve had the time of my life d wejherowo router u s robotics wireless filippo turati nike con scarica giochi pc gratis strutture in acciaio video free nudisti liuc betty canale 56 casse amplificate lem classifiche musica 1999 meglio morto che vivo testi di jovanotti elenco telefonico bielorussia taberna tecnico venditore treviso (regione veneto treviso provincia) voglia di nero the cult pure cult anthology 19841995 priede escape from wc usb mp3 128 biglietti il pranzo servito grand gedeh erika del grande fratello the real neverending story mertens wim storia di piera intel dual core conforti spa scuola radici del tao piccole donne il film lupin iii alcatraz connection klv v32a10e trieste pensioni grande amore mina ibanez jem wrecker savio e giulia samsung sm793s 17 dlink airplus dwl 900ap tshirt calvin klein lettore mp3 per nokia 6600 voci nel silenzio ennio morricone cd fe convert drop i barone rampante depuratori acque bianchi doss ecosmartshop la pioggia nel pineto parafrasi unbreak my heart t www brother it midi free top quark srl mercy street gas wider pdf giochi di camion terracotta army nicolas berg video edge pc ricarica cartuccia pallini www nextel com pe lcd 2 ventole hard disk hasta la victoria passionale kit mouse e tastiera wireless per pc serial ytunnelpro v1 3 build 272 resa con noi west and soda merida cose fare whirlpool sesto senso lavastoviglie compro oro roma pc accelerator 45 heather nova event production palmari telefonici ventanas video di scopate obbligazione italia htpp www sapo pt fronte retro scanner vivo per il mio amore cura della pelle mario winnas lettore pcmcia giochi di aventura magiche hitachi microdrive 4 gb mestress kiss dvd recorder hard auckland intrattenimento la rubbrica di alessandra e costantino c lettore dvd samsung divx vedio nansi ajram auto suzuki ignis graduatorie insegnanti palermo juegorama codici seca wafer tx hollywood usb elchat com attenzione alla puttana santa calendario di miss italia vacanze agosto ischia xnxx babes palmare n10 tv monitor 1280 nazismo e fascismo mfc 9660 www altolario it hotmail japan custodia subaquea racconti sesso con animali cdc columbus portatili consolato cuba milano pozzi ginori lampadine comodino puma speed cat 36 lo guarracino figth drivers v220 funky stuff floriana village palinuro marbella korea 2002 centro america theblackknight crotone roma biglietti aerei negozi mango o zone dragostea din tel cheek to cheek immagini di jentina pc palmare gprs incubation benicio del toro mordred inni del palermo red hot peppers bam2 rca scart window messenger fortflatters epson photo viewer scultura lignea pamela andersson video freee timeo danaos et dona ferentes maglia nike sony cybershot dsc f88 cocorico innocent teen the x files vapore portatile robby williams feel variazioni goldberg last night i was dreaming mi fai un favore sito playboy canada ristorante athlon64 3200 939 stone island kennedy weekend mare nationalhymne canon minidv jean harlow lettori mp3 60gb trasmettitore rca topsardinia com ninas vecchia signora poltrona ufficio ergonomica stampanti a 3 hotel 5 stelle lisbona pulcinella consulenza fisclae rome total war uscita exhibition 80 mogliano marche ricevitore gps royaltek monitor samsung 710 v ricarica win axis 211 network camera fotos desnudas de zanetti corner of the heart mississippi blues foto di cazzi neri i m loving == 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