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://jayj777.50webs.com/magick/ magick] [http://evanka.50webs.com/web/affitto-ufficio22/ affitto ufficio pordenone] [http://evanka.50webs.com/web/il-barman3/ il barman] [http://fishersj.50webs.com/hotel-122.htm hotel 4 stelle dublino] [http://jayj777.50webs.com/esplorare/ esplorare] [http://jayj777.50webs.com/nobody-s4/ nobody s home] [http://fishersj.50webs.com/a-walk1.htm a walk in the clouds] [http://fishersj.50webs.com/locali-per10.htm locali per travestiti in italia] [http://evanka.50webs.com/web/renga-camera/ renga camera con vista] [http://evanka.50webs.com/web/htt-ibox/ htt ibox tim it mms] [http://alexlebedev.50webs.com/sesso-con43/ sesso con gli animali] [http://evanka.50webs.com/web/led-dito/ led dito] [http://jayj777.50webs.com/masterizzatori-dvd49/ masterizzatori dvd nec 3520] [http://jayj777.50webs.com/sit-macerata/ sit macerata] [http://fishersj.50webs.com/tammerfors.htm tammerfors] [http://fishersj.50webs.com/www-fica1.htm www fica comu] [http://evanka.50webs.com/web/dolce-gabbana58/ dolce gabbana intimo] [http://fishersj.50webs.com/strada-senza2.htm strada senza ritorno] [http://fishersj.50webs.com/abbonamento-fastweb.htm abbonamento fastweb] [http://fishersj.50webs.com/ramat-gan.htm ramat gan] [http://alexlebedev.50webs.com/fideuram/ fideuram] [http://evanka.50webs.com/web/supertrans/ supertrans] [http://evanka.50webs.com/web/decapitazione-ken/ decapitazione ken] [http://evanka.50webs.com/web/saturno/ saturno] [http://evanka.50webs.com/web/Alto-adige1/ alto adige albergo] [http://alexlebedev.50webs.com/civonline/ civonline] [http://alexlebedev.50webs.com/elena-miro/ elena miro] [http://alexlebedev.50webs.com/fax-casa/ fax casa] [http://alexlebedev.50webs.com/fica-gratis/ fica gratis] [http://alexlebedev.50webs.com/oslo-cose/ oslo cose fare] [http://evanka.50webs.com/web/spionaggio-a/ spionaggio a casablanca] [http://alexlebedev.50webs.com/let-out1/ let out alone anastasia] [http://evanka.50webs.com/web/Auto-scout1/ auto scout 24] [http://alexlebedev.50webs.com/batteria-casio1/ batteria casio exilim] [http://evanka.50webs.com/web/comet-bust/ comet bust a groove 2] [http://evanka.50webs.com/web/hamilton-edmond/ hamilton edmond] [http://fishersj.50webs.com/energia-eolica.htm energia eolica] [http://alexlebedev.50webs.com/hp-laserjet85/ hp laserjet 2550 ciano] [http://alexlebedev.50webs.com/aeron-italia/ aeron italia srl] [http://evanka.50webs.com/web/my-god/ my god] [http://fishersj.50webs.com/marce-per3.htm marce per banda] [http://jayj777.50webs.com/shola-ama3/ shola ama feat pirates you should really] [http://jayj777.50webs.com/merrit-cabal/ merrit cabal] [http://fishersj.50webs.com/www-cilindro.htm www cilindro magico com] [http://fishersj.50webs.com/allestimento-furgone.htm allestimento furgone] [http://jayj777.50webs.com/jack-nicklaus/ jack nicklaus 6  golden bear challenge] [http://fishersj.50webs.com/immagini-tickling.htm immagini tickling] [http://alexlebedev.50webs.com/php-/ php 5 mysql] [http://alexlebedev.50webs.com/dolores-o/ dolores o riordan] [http://alexlebedev.50webs.com/linguaggio-e/ linguaggio e regole del diritto privato] [http://fishersj.50webs.com/occhiali-da57.htm occhiali da sole titanio] [http://jayj777.50webs.com/usb13/ usb 11] [http://alexlebedev.50webs.com/albo-pretorio/ albo pretorio] [http://evanka.50webs.com/web/trio-ct3/ trio ct 0 1 chicco] [http://alexlebedev.50webs.com/midi-tarantelle/ midi tarantelle] [http://jayj777.50webs.com/siemens-mc3/ siemens mc 60 game com] [http://fishersj.50webs.com/seno-piccolo.htm seno piccolo] [http://fishersj.50webs.com/popi-sanchez.htm popi sanchez] [http://evanka.50webs.com/web/albergo-timisoara/ albergo timisoara] [http://jayj777.50webs.com/concreta/ concreta] [http://fishersj.50webs.com/pro-mixer1.htm pro mixer djx400] [http://jayj777.50webs.com/trademarks/ trademarks] [http://evanka.50webs.com/web/countdown1/ countdown] [http://evanka.50webs.com/web/www-meridiana1/ www meridiana it] [http://fishersj.50webs.com/il-dottor9.htm il dottor kovacs] [http://jayj777.50webs.com/drug-war/ drug war] [http://evanka.50webs.com/web/v-7/ v50 1 6 diesel] [http://fishersj.50webs.com/plasma7.htm plasma 46300] [http://fishersj.50webs.com/narofominsk.htm narofominsk] [http://jayj777.50webs.com/www-bni/ www bni it] [http://jayj777.50webs.com/ventilatore-pale1/ ventilatore pale soffitto] [http://alexlebedev.50webs.com/marche/ marche] [http://fishersj.50webs.com/levanna.htm levanna] [http://alexlebedev.50webs.com/scheda-audio38/ scheda audio esterno] [http://alexlebedev.50webs.com/pidame/ pidame] [http://jayj777.50webs.com/ultime-notizie13/ ultime notizie di cronaca] [http://alexlebedev.50webs.com/copertina-cd79/ copertina cd francesco renga] [http://fishersj.50webs.com/disoccupazione-a.htm disoccupazione a potenza] [http://jayj777.50webs.com/peire-vidal/ peire vidal] [http://fishersj.50webs.com/puff-daddy7.htm puff daddy i don t wonna know] [http://evanka.50webs.com/web/opel-tigra16/ opel tigra 13 cdti] [http://evanka.50webs.com/web/concessionarie-auto6/ concessionarie auto localita isernia] [http://alexlebedev.50webs.com/cuffie-tv1/ cuffie tv senza fili] [http://evanka.50webs.com/web/asta-internet/ asta internet] [http://jayj777.50webs.com/hdd-gb10/ hdd 200gb ata 133  8mb] [http://jayj777.50webs.com/jellicle-songs/ jellicle songs for jellicle cats] [http://alexlebedev.50webs.com/chat-joven/ chat joven] [http://fishersj.50webs.com/www-glo.htm www glo] [http://jayj777.50webs.com/cerebral-palsy/ cerebral palsy] [http://alexlebedev.50webs.com/video-rd/ video 3rd wish obsesion] [http://jayj777.50webs.com/jeann/ jeann] [http://jayj777.50webs.com/peugeot-88/ peugeot 407 problemi] [http://alexlebedev.50webs.com/madrid-pisa/ madrid pisa biglietti aerei] [http://fishersj.50webs.com/quotidiani-it.htm quotidiani it] [http://evanka.50webs.com/web/foto-nino/ foto nino d angelo] [http://jayj777.50webs.com/morale-edilizia/ morale (edilizia)] [http://fishersj.50webs.com/cija-si.htm cija si] [http://fishersj.50webs.com/hit-mania77.htm hit mania dance 2002] [http://jayj777.50webs.com/juegos-de21/ juegos de mesa] [http://fishersj.50webs.com/cendant-italia.htm cendant italia] [http://m1santhrop1c.50webs.com/view/corso-di20/ corso di inglese su cd] [http://evghoul.50webs.com/resources/villagi-cartoon.htm villagi cartoon] [http://etgeek.50webs.com/view/asus-my6.htm asus my pal palmari] [http://isabellelipton.50webs.com/library/midi-per/ midi per cellulari] [http://dyadechkovolyn.50webs.com/description/carton-xxx/ carton xxx] [http://isabellelipton.50webs.com/library/ven-conmigo/ ven conmigo] [http://antimesil.50webs.com/articles/poliziadistato-it/ poliziadistato it] [http://dmvags.50webs.com/lib/sartori-franco1/ sartori franco srl] [http://perfectx.50webs.com/view/roccella-jonica.htm roccella jonica] [http://dyadechkovolyn.50webs.com/description/lettori-mp184/ lettori mp3 512mb fm integrata] [http://77life.50webs.com/articles/castro-lecce/ castro (lecce)] [http://evghoul.50webs.com/resources/le-piu7.htm le piu belle donne dei calciatori] [http://kristinemigh.50webs.com/blog/oil-islands.htm oil islands] [http://77life.50webs.com/articles/suoneria-per2/ suoneria per cellulari] [http://weakxkn.50webs.com/view/professoressa-di/ professoressa di lingue] [http://apockrif.50webs.com/description/venditti-notte.htm venditti notte] [http://antimesil.50webs.com/articles/palmari-navigator/ palmari navigator] [http://etgeek.50webs.com/view/trapani-elettrici1.htm trapani elettrici jcb] [http://weakxkn.50webs.com/view/copertura-edili/ copertura edili] [http://elainegardeng.50webs.com/html/street-fighter9.htm street fighter ex 3] [http://m1santhrop1c.50webs.com/view/renault-cabrio/ renault cabrio] [http://kristinemigh.50webs.com/blog/www-sexy9.htm www sexy hard com] [http://perfectx.50webs.com/view/samsung-psv.htm samsung ps42v6] [http://mistresso.50webs.com/directory/forza-motorsport4.htm forza motorsport live kit] [http://mistresso.50webs.com/directory/terni-hotels.htm terni hotels] [http://evghoul.50webs.com/resources/carmen-russo5.htm carmen russo foto] [http://antimesil.50webs.com/articles/moira/ moira] [http://some1crazyo.50webs.com/view/pi.htm p910i 66] [http://etgeek.50webs.com/view/ferrri.htm ferrri] [http://etgeek.50webs.com/view/elenco-telefoni1.htm elenco telefoni napoli] [http://apockrif.50webs.com/description/giochi-emulatore.htm giochi emulatore gba] [http://perfectx.50webs.com/view/connessione-gratuita.htm connessione gratuita di super eva] [http://perfectx.50webs.com/view/banco-central1.htm banco central argentino] [http://etgeek.50webs.com/view/registratore-cassa.htm registratore cassa] [http://antimesil.50webs.com/articles/mercedes-ml24/ mercedes ml 320 d] [http://antimesil.50webs.com/articles/mp-creative25/ mp3 creative muvo tx 512 fm] [http://elainegardeng.50webs.com/html/hamlet-switch1.htm hamlet switch 16 porte] [http://dmvags.50webs.com/lib/gloria-umberto1/ gloria umberto tozzi] [http://m1santhrop1c.50webs.com/view/vallardi/ vallardi] [http://m1santhrop1c.50webs.com/view/clubair/ clubair] [http://m1santhrop1c.50webs.com/view/betty-la2/ betty la fea finale telenovelas] [http://etgeek.50webs.com/view/immagini-disney2.htm immagini disney] [http://77life.50webs.com/articles/benny-bennasi2/ benny bennasi california dream] [http://apockrif.50webs.com/description/uomini-dotati.htm uomini dotati] [http://weakxkn.50webs.com/view/haslinger/ haslinger] [http://apockrif.50webs.com/description/decreto-precari.htm decreto precari] [http://fangirling.50webs.com/small/acta-est.htm acta est fabula] [http://m1santhrop1c.50webs.com/view/enrico-di3/ enrico di neustadt] [http://evghoul.50webs.com/resources/frasi-da7.htm frasi da tradurre] [http://evghoul.50webs.com/resources/clinica-s1.htm clinica s rita benevento] [http://evghoul.50webs.com/resources/esibizioniste-in3.htm esibizioniste in sicilia] [http://dmvags.50webs.com/lib/adman/ adman] [http://some1crazyo.50webs.com/view/tshirt-puma1.htm tshirt puma donna] [http://mistresso.50webs.com/directory/tv-lcd209.htm tv lcd sony 17] [http://antimesil.50webs.com/articles/angel-city/ angel city] [http://perfectx.50webs.com/view/spam-blocker.htm spam blocker] [http://isabellelipton.50webs.com/library/saetabis/ saetabis] [http://antimesil.50webs.com/articles/istituto-tecnico8/ istituto tecnico per geometri arezzo] [http://perfectx.50webs.com/view/regola-barba4.htm regola barba e capelli] [http://isabellelipton.50webs.com/library/mature-over1/ mature over 50] [http://weakxkn.50webs.com/view/laid/ laid] [http://some1crazyo.50webs.com/view/mollette-capezzoli.htm mollette capezzoli] [http://antimesil.50webs.com/articles/le-due13/ le due torri bodybuilding] [http://apockrif.50webs.com/description/il-segreto37.htm il segreto della vita] [http://fangirling.50webs.com/small/turismo.htm turismo] [http://weakxkn.50webs.com/view/ipod-shuffle10/ ipod shuffle] [http://elainegardeng.50webs.com/html/universita-milano.htm universita milano bicocca] [http://some1crazyo.50webs.com/view/lu-alessandria.htm lu (alessandria)] [http://77life.50webs.com/articles/www-bestannunci1/ www bestannunci com] [http://evghoul.50webs.com/resources/petitgris.htm petitgris] [http://kristinemigh.50webs.com/blog/full-duplex1.htm full duplex schede audio] [http://m1santhrop1c.50webs.com/view/franklin-marshall1/ franklin marshall] [http://some1crazyo.50webs.com/view/fuego-de.htm fuego de noche nieve de dia] [http://weakxkn.50webs.com/view/wilkesbarre/ wilkesbarre] [http://apockrif.50webs.com/description/l-ascensore.htm l ascensore] [http://antimesil.50webs.com/articles/argo-zoologia/ argo (zoologia)] [http://perfectx.50webs.com/view/canon-ste.htm canon ste2] [http://evghoul.50webs.com/resources/cojer-con.htm cojer con satan] [http://77life.50webs.com/articles/this-love63/ this love maroons 5] [http://m1santhrop1c.50webs.com/view/samsung-a3/ samsung a 6] [http://etgeek.50webs.com/view/paul-meurisse.htm paul meurisse] [http://weakxkn.50webs.com/view/godavari-east/ godavari east] [http://elainegardeng.50webs.com/html/paci.htm paci] [http://mistresso.50webs.com/directory/orgie-con.htm orgie con foto] [http://dmvags.50webs.com/lib/nothing-fails/ nothing fails] [http://fangirling.50webs.com/small/www-cogidas.htm www cogidas com] [http://mistresso.50webs.com/directory/gaia-ferrando.htm gaia ferrando] [http://m1santhrop1c.50webs.com/view/basket-cantu/ basket cantu] [http://isabellelipton.50webs.com/library/business-center/ business center ufficio srl] [http://kristinemigh.50webs.com/blog/manga-porno3.htm manga porno sailor moon] [http://m1santhrop1c.50webs.com/view/browning-robert/ browning robert] [http://77life.50webs.com/articles/eclissi-di2/ eclissi di luna] [http://m1santhrop1c.50webs.com/view/ferro-t/ ferro t] [http://77life.50webs.com/articles/mega-sit/ mega sit] [http://elainegardeng.50webs.com/html/crane-ronald.htm crane ronald salmon] [http://some1crazyo.50webs.com/view/automobile-usata4.htm automobile usata roma] [http://weakxkn.50webs.com/view/hp-pavilion24/ hp pavilion amd 3000] [http://kristinemigh.50webs.com/blog/musica-romaneasca.htm musica romaneasca] [http://mistresso.50webs.com/directory/equatoriale.htm equatoriale] [http://kristinemigh.50webs.com/blog/corsair-xms2.htm corsair xms25400] == 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 01:14, 8 October 2007

magick affitto ufficio pordenone il barman hotel 4 stelle dublino esplorare nobody s home a walk in the clouds locali per travestiti in italia renga camera con vista htt ibox tim it mms sesso con gli animali led dito masterizzatori dvd nec 3520 sit macerata tammerfors www fica comu dolce gabbana intimo strada senza ritorno abbonamento fastweb ramat gan fideuram supertrans decapitazione ken saturno alto adige albergo civonline elena miro fax casa fica gratis oslo cose fare spionaggio a casablanca let out alone anastasia auto scout 24 batteria casio exilim comet bust a groove 2 hamilton edmond energia eolica hp laserjet 2550 ciano aeron italia srl my god marce per banda shola ama feat pirates you should really merrit cabal www cilindro magico com allestimento furgone jack nicklaus 6 golden bear challenge immagini tickling php 5 mysql dolores o riordan linguaggio e regole del diritto privato occhiali da sole titanio usb 11 albo pretorio trio ct 0 1 chicco midi tarantelle siemens mc 60 game com seno piccolo popi sanchez albergo timisoara concreta pro mixer djx400 trademarks countdown www meridiana it il dottor kovacs drug war v50 1 6 diesel plasma 46300 narofominsk www bni it ventilatore pale soffitto marche levanna scheda audio esterno pidame ultime notizie di cronaca copertina cd francesco renga disoccupazione a potenza peire vidal puff daddy i don t wonna know opel tigra 13 cdti concessionarie auto localita isernia cuffie tv senza fili asta internet hdd 200gb ata 133 8mb jellicle songs for jellicle cats chat joven www glo cerebral palsy video 3rd wish obsesion jeann peugeot 407 problemi madrid pisa biglietti aerei quotidiani it foto nino d angelo morale (edilizia) cija si hit mania dance 2002 juegos de mesa cendant italia corso di inglese su cd villagi cartoon asus my pal palmari midi per cellulari carton xxx ven conmigo poliziadistato it sartori franco srl roccella jonica lettori mp3 512mb fm integrata castro (lecce) le piu belle donne dei calciatori oil islands suoneria per cellulari professoressa di lingue venditti notte palmari navigator trapani elettrici jcb copertura edili street fighter ex 3 renault cabrio www sexy hard com samsung ps42v6 forza motorsport live kit terni hotels carmen russo foto moira p910i 66 ferrri elenco telefoni napoli giochi emulatore gba connessione gratuita di super eva banco central argentino registratore cassa mercedes ml 320 d mp3 creative muvo tx 512 fm hamlet switch 16 porte gloria umberto tozzi vallardi clubair betty la fea finale telenovelas immagini disney benny bennasi california dream uomini dotati haslinger decreto precari acta est fabula enrico di neustadt frasi da tradurre clinica s rita benevento esibizioniste in sicilia adman tshirt puma donna tv lcd sony 17 angel city spam blocker saetabis istituto tecnico per geometri arezzo regola barba e capelli mature over 50 laid mollette capezzoli le due torri bodybuilding il segreto della vita turismo ipod shuffle universita milano bicocca lu (alessandria) www bestannunci com petitgris full duplex schede audio franklin marshall fuego de noche nieve de dia wilkesbarre l ascensore argo (zoologia) canon ste2 cojer con satan this love maroons 5 samsung a 6 paul meurisse godavari east paci orgie con foto nothing fails www cogidas com gaia ferrando basket cantu business center ufficio srl manga porno sailor moon browning robert eclissi di luna ferro t mega sit crane ronald salmon automobile usata roma hp pavilion amd 3000 musica romaneasca equatoriale corsair xms25400 == 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