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://aipir-ine.ifrance.com/hotel-cesena/ hotel cesena] [http://away-warf.ifrance.com/new/itinerari-irlanda/ itinerari irlanda] [http://luzerna-reviver.ifrance.com/text/ariston-incasso.htm ariston incasso lavastoviglie] [http://roma-uid.ifrance.com/lib/temi-svolti27.htm temi svolti] [http://away-warf.ifrance.com/new/martin-sheen/ martin sheen] [http://vlut-enya.ifrance.com/text/acer-42/ acer 19 lcd al1912] [http://corvisn-rnum.ifrance.com/lib/stampante-portatile1/ stampante portatile canon] [http://vlut-enya.ifrance.com/text/canzone-carmina/ canzone carmina] [http://lezew0our.ifrance.com/description/sea-lion.htm sea lion sas] [http://mise-efaith.ifrance.com/balme.htm balme] [http://rjste-boat.ifrance.com/articles/strategia-formativa/ strategia formativa libri] [http://rut-hete.ifrance.com/directory/registratore-video2.htm registratore video audio] [http://luzerna-reviver.ifrance.com/text/camera-innsbruck.htm camera innsbruck] [http://vlut-enya.ifrance.com/text/codacons-roma/ codacons roma benzina] [http://kzer-ncer.ifrance.com/library/televisori-al31.htm televisori al plasma 37 pollici] [http://mise-efaith.ifrance.com/shirer-william.htm shirer william lawrence] [http://lezew0our.ifrance.com/description/ferrari-immagini.htm ferrari immagini] [http://away-warf.ifrance.com/new/la-notte26/ la notte dei demoni] [http://mani-ndon.ifrance.com/new/testi-di37/ testi di grease in italiano] [http://tanya-abramova.ifrance.com/html/ragazze-perizoma/ ragazze perizoma] [http://mise-efaith.ifrance.com/vasilis-karras.htm vasilis karras] [http://luzerna-reviver.ifrance.com/text/tv-lcd114.htm tv lcd 17 hyundai] [http://dtyc-seti.ifrance.com/new/bomboniera-milano.htm bomboniera milano] [http://lezew0our.ifrance.com/description/prestito-capri.htm prestito capri] [http://mani-ndon.ifrance.com/new/ete-indien/ ete indien] [http://away-warf.ifrance.com/new/usumacinta/ usumacinta] [http://chri-ari.ifrance.com/directory/kyd.htm kyd] [http://pho-enixt.ifrance.com/styles/discorsi-hitler/ discorsi hitler] [http://luzerna-reviver.ifrance.com/text/lupo-2.htm lupo 1 4 tdi] [http://rjste-boat.ifrance.com/articles/ospedale-gradenigo/ ospedale gradenigo torino] [http://corvisn-rnum.ifrance.com/lib/e-sia/ e sia cosi] [http://luzerna-reviver.ifrance.com/text/vinovo.htm vinovo] [http://citize-snips.ifrance.com/blog/danger-zone1/ danger zone top gun] [http://kzer-ncer.ifrance.com/library/skinhead.htm skinhead] [http://tanya-abramova.ifrance.com/html/i-cavalieri13/ i cavalieri dello zodiaco  la leggenda] [http://lezew0our.ifrance.com/description/zuma-bear.htm zuma bear and cat] [http://corvisn-rnum.ifrance.com/lib/brocure/ brocure] [http://carolli-nne.ifrance.com/text/configurazione-computer/ configurazione computer] [http://lezew0our.ifrance.com/description/smell-like3.htm smell like teen spirits] [http://luzerna-reviver.ifrance.com/text/lago-di8.htm lago di como] [http://rjste-boat.ifrance.com/articles/la-notte28/ la notte del grande assalto] [http://rjste-boat.ifrance.com/articles/tarantola-origini/ tarantola origini] [http://mise-efaith.ifrance.com/modulo-memoria.htm modulo memoria 512 mb] [http://vlut-enya.ifrance.com/text/ketchup/ ketchup] [http://rut-hete.ifrance.com/directory/porno-annunci1.htm porno annunci] [http://citize-snips.ifrance.com/blog/cinquemiglia/ cinquemiglia] [http://rjste-boat.ifrance.com/articles/profumo-valentino/ profumo valentino classic] [http://rut-hete.ifrance.com/directory/i-banditi1.htm i banditi] [http://roma-uid.ifrance.com/lib/kit-piscina.htm kit piscina] [http://chri-ari.ifrance.com/directory/www-highschool.htm www highschool com] [http://mani-ndon.ifrance.com/new/supporto-auto12/ supporto auto accessori palmari 9090] [http://dtyc-seti.ifrance.com/new/massa-di.htm massa di somma] [http://aipir-ine.ifrance.com/rcm/ rcm] [http://aipir-ine.ifrance.com/nidi-aziendali/ nidi aziendali a verona] [http://pho-enixt.ifrance.com/styles/nazional-italiana/ nazional italiana] [http://corvisn-rnum.ifrance.com/lib/www-cartoon12/ www cartoon network com ar] [http://away-warf.ifrance.com/new/mac-donald1/ mac donald] [http://citize-snips.ifrance.com/blog/www-the13/ www the darkness] [http://carolli-nne.ifrance.com/text/kiko/ kiko] [http://lezew0our.ifrance.com/description/tv-usb4.htm tv usb digitale analogico] [http://tanya-abramova.ifrance.com/html/autocad-6/ autocad 2004 ita] [http://carolli-nne.ifrance.com/text/gambe-collant/ gambe collant] [http://rut-hete.ifrance.com/directory/lumix-dmc5.htm lumix dmc fz2] [http://mani-ndon.ifrance.com/new/cool-shen/ cool shen] [http://citize-snips.ifrance.com/blog/concorsi-per10/ concorsi per call center] [http://citize-snips.ifrance.com/blog/azione-immediata/ azione immediata] [http://vlut-enya.ifrance.com/text/anthoscopus/ anthoscopus] [http://carolli-nne.ifrance.com/text/lavorazioni-meccaniche2/ lavorazioni meccaniche] [http://carolli-nne.ifrance.com/text/launeddas/ launeddas] [http://vlut-enya.ifrance.com/text/canzone-juve/ canzone juve storia di un grande amore] [http://kzer-ncer.ifrance.com/library/defend-castel.htm defend castel] [http://leg-erasin.ifrance.com/description/enercom.htm enercom] [http://away-warf.ifrance.com/new/cassa-integrazione1/ cassa integrazione regolamento] [http://vlut-enya.ifrance.com/text/accessori-per36/ accessori per palmari m500] [http://corvisn-rnum.ifrance.com/lib/www-gruesom/ www gruesom videos com] [http://leg-erasin.ifrance.com/description/dvd-di1.htm dvd di pulizia] [http://rut-hete.ifrance.com/directory/www-il16.htm www il fiume po it] [http://aipir-ine.ifrance.com/tell-me5/ tell me why did fly away] [http://rut-hete.ifrance.com/directory/designers.htm designers] [http://mani-ndon.ifrance.com/new/mar-menor/ mar menor] [http://dtyc-seti.ifrance.com/new/fisio-cellulari.htm fisio cellulari philips] [http://rjste-boat.ifrance.com/articles/uso-capione/ uso capione] [http://leg-erin.ifrance.com/new/chat-singoli/ chat singoli] [http://vlut-enya.ifrance.com/text/floyd-cramer/ floyd cramer] [http://rut-hete.ifrance.com/directory/www-djtommyvee.htm www djtommyvee com] [http://kzer-ncer.ifrance.com/library/furto-contro.htm furto contro furto] [http://away-warf.ifrance.com/new/black-jack/ black jack off] [http://citize-snips.ifrance.com/blog/robbie-willians2/ robbie willians] [http://citize-snips.ifrance.com/blog/movimento-cantautori/ movimento cantautori] [http://corvisn-rnum.ifrance.com/lib/video-soldato/ video soldato americano] [http://roma-uid.ifrance.com/lib/samsung32.htm samsung 19] [http://mani-ndon.ifrance.com/new/radeon-x20/ radeon x850 xt platinum] [http://mani-ndon.ifrance.com/new/trekking-casio/ trekking casio orologi] [http://away-warf.ifrance.com/new/giochi-psp1/ giochi psp sony] [http://leg-erin.ifrance.com/new/bubbles-trouble/ bubbles trouble 2] [http://chri-ari.ifrance.com/directory/video-hard28.htm video hard con laura andresan] [http://mise-efaith.ifrance.com/sapphicerotica.htm sapphicerotica] [http://aipir-ine.ifrance.com/hobbies/ hobbies] [http://carolli-nne.ifrance.com/text/mp-prendimi/ mp3 prendimi renato zero] [http://carolli-nne.ifrance.com/text/celler/ celler 55] [http://tanya-abramova.ifrance.com/html/inquinamento-a/ inquinamento a kabul] [http://kzer-ncer.ifrance.com/library/laszlo.htm laszlo] [http://rjste-boat.ifrance.com/articles/una-patch7/ una patch anche per world war ii frontline command] [http://lezew0our.ifrance.com/description/stivali-paciotti1.htm stivali paciotti] [http://mani-ndon.ifrance.com/new/di-capri/ di capri] [http://corvisn-rnum.ifrance.com/lib/il-cavallo/ il cavallo dacciaio] [http://mani-ndon.ifrance.com/new/ups-i/ ups i did it again] [http://away-warf.ifrance.com/new/donald-ragazzo/ donald ragazzo] [http://corvisn-rnum.ifrance.com/lib/casio-qv1/ casio qv r62] [http://corvisn-rnum.ifrance.com/lib/ris-delitti/ ris delitti imperfetti] [http://pho-enixt.ifrance.com/styles/hp-93/ hp 6110 nx] [http://leg-erasin.ifrance.com/description/de-grenet2.htm de grenet topless] [http://corvisn-rnum.ifrance.com/lib/ati-controller/ ati controller] [http://leg-erin.ifrance.com/new/all-star12/ all star converse nero] [http://leg-erasin.ifrance.com/description/la-macchina7.htm la macchina nera] [http://dtyc-seti.ifrance.com/new/microsoft-xp2.htm microsoft xp pro ita oem] [http://kzer-ncer.ifrance.com/library/ingrassata.htm ingrassata] [http://chri-ari.ifrance.com/directory/wiv1.htm wiv] [http://away-warf.ifrance.com/new/chun-hsing/ chun hsing] [http://carolli-nne.ifrance.com/text/beretta-armi/ beretta armi] [http://citize-snips.ifrance.com/blog/idee-sui/ idee sui regali di natale] [http://vlut-enya.ifrance.com/text/foame/ foame] [http://vlut-enya.ifrance.com/text/fotocamera-amstrad/ fotocamera amstrad] [http://lezew0our.ifrance.com/description/televisore-portatile4.htm televisore portatile 6] [http://dtyc-seti.ifrance.com/new/nike-parfum.htm nike parfum] [http://rjste-boat.ifrance.com/articles/gina-lee1/ gina lee nolin] [http://carolli-nne.ifrance.com/text/fred-buscaglione/ fred buscaglione] [http://lezew0our.ifrance.com/description/dupree.htm dupree] [http://away-warf.ifrance.com/new/a-story/ a story of britain] [http://lezew0our.ifrance.com/description/finanziamento-rimini.htm finanziamento rimini] [http://away-warf.ifrance.com/new/osanna-he/ osanna he] [http://vlut-enya.ifrance.com/text/club-pive/ club pive veneto] [http://carolli-nne.ifrance.com/text/www-team/ www team cristo] [http://dtyc-seti.ifrance.com/new/piedi-video1.htm piedi video gratis] [http://roma-uid.ifrance.com/lib/mid-nait.htm mid nait clab] [http://rjste-boat.ifrance.com/articles/footprint/ footprint] [http://lezew0our.ifrance.com/description/enya-mp.htm enya mp3] [http://rut-hete.ifrance.com/directory/dissipatori-per8.htm dissipatori per p4 775] [http://leg-erasin.ifrance.com/description/telefonico.htm telefonico] [http://luzerna-reviver.ifrance.com/text/hsw-nokia.htm hs11w nokia] [http://pho-enixt.ifrance.com/styles/giacobbe/ giacobbe] [http://dtyc-seti.ifrance.com/new/piccole-anime.htm piccole anime] [http://citize-snips.ifrance.com/blog/la-donna57/ la donna ombra] [http://luzerna-reviver.ifrance.com/text/video-di90.htm video di britney spears] [http://chri-ari.ifrance.com/directory/la-canzone34.htm la canzone i giovani di jovanotti] [http://chri-ari.ifrance.com/directory/california-dreaming9.htm california dreaming royal] [http://chri-ari.ifrance.com/directory/negri.htm negri] [http://leg-erasin.ifrance.com/description/elenco-abbonati11.htm elenco abbonati nome anna] [http://aipir-ine.ifrance.com/recensioni-film1/ recensioni film] [http://leg-erin.ifrance.com/new/scacchiere/ scacchiere] [http://mise-efaith.ifrance.com/dolce-.htm dolce 6 gabbana] [http://vlut-enya.ifrance.com/text/poesie-sul1/ poesie sul natale] [http://dtyc-seti.ifrance.com/new/delta-airlines.htm delta airlines] [http://lezew0our.ifrance.com/description/pizzica-minore.htm pizzica minore] [http://lezew0our.ifrance.com/description/il-comandante.htm il comandante johnny] [http://luzerna-reviver.ifrance.com/text/www-truongton.htm www truongton net] [http://vlut-enya.ifrance.com/text/dragostei-din3/ dragostei din tei dj ross] [http://away-warf.ifrance.com/new/www-dj1/ www dj ralf it] [http://tanya-abramova.ifrance.com/html/eos-d15/ eos 20d corpo] [http://carolli-nne.ifrance.com/text/commento-e/ commento e parafrasi de lo giglio quand] [http://pho-enixt.ifrance.com/styles/volim-te/ volim te mrzim te] [http://corvisn-rnum.ifrance.com/lib/memory-di/ memory di barbara streisand] [http://leg-erasin.ifrance.com/description/parole-pigro.htm parole pigro pino daniele] [http://vlut-enya.ifrance.com/text/pottery-ancient/ pottery ancient roman] [http://roma-uid.ifrance.com/lib/un-paradiso.htm un paradiso senza biliardo] [http://chri-ari.ifrance.com/directory/jacksonville-hotel.htm jacksonville hotel] [http://chri-ari.ifrance.com/directory/philips-telecomando.htm philips telecomando universale] [http://rjste-boat.ifrance.com/articles/weekend-cowboy/ weekend cowboy] [http://aipir-ine.ifrance.com/maxtor-23/ maxtor 160 gb ata] [http://away-warf.ifrance.com/new/peppino-di5/ peppino di capri midi gratis] [http://away-warf.ifrance.com/new/bagno-turco2/ bagno turco milano] [http://mise-efaith.ifrance.com/panasonic-nvgsegs3.htm panasonic nvgs150egs] [http://corvisn-rnum.ifrance.com/lib/la-figlia19/ la figlia di dartagnan] [http://lezew0our.ifrance.com/description/truchi-counter.htm truchi counter strike] [http://tanya-abramova.ifrance.com/html/inni-e4/ inni e canti fascisti] [http://vlut-enya.ifrance.com/text/fanatica/ fanatica] [http://pho-enixt.ifrance.com/styles/drivers-webcam/ drivers webcam] [http://tanya-abramova.ifrance.com/html/www-lunapop/ www lunapop com] [http://roma-uid.ifrance.com/lib/soluzioni-chase.htm soluzioni chase the express] [http://mani-ndon.ifrance.com/new/jambo-bwana/ jambo bwana] [http://leg-erasin.ifrance.com/description/fare-qualcosa.htm fare qualcosa] [http://pho-enixt.ifrance.com/styles/sexercise/ sexercise] [http://away-warf.ifrance.com/new/www-clafoutis/ www clafoutis it] [http://carolli-nne.ifrance.com/text/gemini-cd/ gemini cd] [http://leg-erasin.ifrance.com/description/fiat-punto107.htm fiat punto sporting] [http://mise-efaith.ifrance.com/occasioni.htm occasioni] [http://vlut-enya.ifrance.com/text/calamo/ calamo] [http://corvisn-rnum.ifrance.com/lib/nina-sky4/ nina sky jabba] [http://away-warf.ifrance.com/new/cruciverba-sull/ cruciverba sull economia] [http://leg-erasin.ifrance.com/description/sussudio.htm sussudio] [http://kzer-ncer.ifrance.com/library/estee-lauder13.htm estee lauder daywear plus] [http://carolli-nne.ifrance.com/text/hair-styles/ hair styles] [http://roma-uid.ifrance.com/lib/wrestling-wwe1.htm wrestling wwe survivor series] [http://tanya-abramova.ifrance.com/html/ramla/ ramla] [http://citize-snips.ifrance.com/blog/dlink-dfw/ dlink dfw500] [http://rjste-boat.ifrance.com/articles/chaquira/ chaquira] [http://mise-efaith.ifrance.com/kit-casse1.htm kit casse sony] [http://vlut-enya.ifrance.com/text/la-giacca1/ la giacca rossa] [http://leg-erasin.ifrance.com/description/dvd-rip.htm dvd rip] [http://away-warf.ifrance.com/new/plotter-hp7/ plotter hp a0] == 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 20:51, 23 September 2007

hotel cesena itinerari irlanda ariston incasso lavastoviglie temi svolti martin sheen acer 19 lcd al1912 stampante portatile canon canzone carmina sea lion sas balme strategia formativa libri registratore video audio camera innsbruck codacons roma benzina televisori al plasma 37 pollici shirer william lawrence ferrari immagini la notte dei demoni testi di grease in italiano ragazze perizoma vasilis karras tv lcd 17 hyundai bomboniera milano prestito capri ete indien usumacinta kyd discorsi hitler lupo 1 4 tdi ospedale gradenigo torino e sia cosi vinovo danger zone top gun skinhead i cavalieri dello zodiaco la leggenda zuma bear and cat brocure configurazione computer smell like teen spirits lago di como la notte del grande assalto tarantola origini modulo memoria 512 mb ketchup porno annunci cinquemiglia profumo valentino classic i banditi kit piscina www highschool com supporto auto accessori palmari 9090 massa di somma rcm nidi aziendali a verona nazional italiana www cartoon network com ar mac donald www the darkness kiko tv usb digitale analogico autocad 2004 ita gambe collant lumix dmc fz2 cool shen concorsi per call center azione immediata anthoscopus lavorazioni meccaniche launeddas canzone juve storia di un grande amore defend castel enercom cassa integrazione regolamento accessori per palmari m500 www gruesom videos com dvd di pulizia www il fiume po it tell me why did fly away designers mar menor fisio cellulari philips uso capione chat singoli floyd cramer www djtommyvee com furto contro furto black jack off robbie willians movimento cantautori video soldato americano samsung 19 radeon x850 xt platinum trekking casio orologi giochi psp sony bubbles trouble 2 video hard con laura andresan sapphicerotica hobbies mp3 prendimi renato zero celler 55 inquinamento a kabul laszlo una patch anche per world war ii frontline command stivali paciotti di capri il cavallo dacciaio ups i did it again donald ragazzo casio qv r62 ris delitti imperfetti hp 6110 nx de grenet topless ati controller all star converse nero la macchina nera microsoft xp pro ita oem ingrassata wiv chun hsing beretta armi idee sui regali di natale foame fotocamera amstrad televisore portatile 6 nike parfum gina lee nolin fred buscaglione dupree a story of britain finanziamento rimini osanna he club pive veneto www team cristo piedi video gratis mid nait clab footprint enya mp3 dissipatori per p4 775 telefonico hs11w nokia giacobbe piccole anime la donna ombra video di britney spears la canzone i giovani di jovanotti california dreaming royal negri elenco abbonati nome anna recensioni film scacchiere dolce 6 gabbana poesie sul natale delta airlines pizzica minore il comandante johnny www truongton net dragostei din tei dj ross www dj ralf it eos 20d corpo commento e parafrasi de lo giglio quand volim te mrzim te memory di barbara streisand parole pigro pino daniele pottery ancient roman un paradiso senza biliardo jacksonville hotel philips telecomando universale weekend cowboy maxtor 160 gb ata peppino di capri midi gratis bagno turco milano panasonic nvgs150egs la figlia di dartagnan truchi counter strike inni e canti fascisti fanatica drivers webcam www lunapop com soluzioni chase the express jambo bwana fare qualcosa sexercise www clafoutis it gemini cd fiat punto sporting occasioni calamo nina sky jabba cruciverba sull economia sussudio estee lauder daywear plus hair styles wrestling wwe survivor series ramla dlink dfw500 chaquira kit casse sony la giacca rossa dvd rip plotter hp a0 == 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