Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Mdenham
reverted from spam & vandalism
No edit summary
Line 1: Line 1:
== Part 7 - Miscellaneous ==
[http://ammjong.50webs.com/web/morometzii.html morometzii] [http://piraticalman.50webs.com/yamaha-11.html yamaha  rxv450] [http://greenquotebook.50webs.com/appunti-algebra.htm appunti algebra] [http://mentalitch.50webs.com/topic/ferro-stiro13.htm ferro stiro vapore] [http://piraticalman.50webs.com/Porno-trans1.html porno trans] [http://rjdudak.50webs.com/description/web-sunat.htm web sunat] [http://eyeh8everywon.50webs.com/alfa-gtv6.htm alfa gtv turbo] [http://rzd.50webs.com/torino-cagliari/ torino cagliari] [http://vanatru.50webs.com/new/sunna/ sunna] [http://mirnaladonyax.50webs.com/data/bimbi-in.html bimbi in spiaggia] [http://mirnaladonyax.50webs.com/data/yashica-kyocera3.html yashica kyocera ez] [http://lavinyacreates.50webs.com/html/bobble-babble/ bobble babble] [http://amandab.50webs.com/blog/foto-delle4/ foto delle stars] [http://missmane.50webs.com/adsl-router23/ adsl router wifi] [http://piraticalman.50webs.com/sata-diamondmax.html sata diamondmax 16] [http://efrosine.50webs.com/directory/dvd-stampante/ dvd stampante] [http://viktoza.50webs.com/new/fax-telecom/ fax telecom raffaello] [http://vanatru.50webs.com/new/www-az/ www az it] [http://ammjong.50webs.com/web/caminetto-rustici.html caminetto rustici] [http://lavinyacreates.50webs.com/html/data-traveler4/ data traveler kingston 256 mb] [http://helenadole.50webs.com/bear-chare.htm bear chare] [http://viktoza.50webs.com/new/tsuruoka/ tsuruoka] [http://greenquotebook.50webs.com/dama-gratis.htm dama gratis] [http://amandab.50webs.com/blog/ragazzine-nude/ ragazzine nude] [http://viktoza.50webs.com/new/mentana-enrico/ mentana enrico] [http://rzd.50webs.com/fortron-w/ fortron 400w] [http://lesliesecho.50webs.com/fan-x1.html fan 80x80] [http://lesliesecho.50webs.com/vido-ostaggi.html vido ostaggi] [http://efrosine.50webs.com/directory/v-razr2/ v3 razr cellulari motorola] [http://lesliesecho.50webs.com/nvidia-fx9.html nvidia fx] [http://lesliesecho.50webs.com/trucchi-gta9.html trucchi gta3] [http://piraticalman.50webs.com/la-sorpresa1.html la sorpresa renga] [http://viktoza.50webs.com/new/tommy-vee18/ tommy vee selection] [http://deedeecam.50webs.com/blog/www-festivalbar2/ www festivalbar it backstage foto artist] [http://eyeh8everywon.50webs.com/sex-gratuit.htm sex gratuit] [http://eyeh8everywon.50webs.com/elvis-presley8.htm elvis presley aloha from hawaii] [http://eyeh8everywon.50webs.com/scala-milano.htm scala milano] [http://ammjong.50webs.com/web/commento-la.html commento la quiete dopo la tempesta] [http://rzd.50webs.com/table-tennis2/ table tennis ii ping pong] [http://mirnaladonyax.50webs.com/data/ultime-lettere1.html ultime lettere di ortis] [http://eyeh8everywon.50webs.com/lettore-cf1.htm lettore cf compact flash] [http://vanatru.50webs.com/new/www-sesso13/ www sesso spinto it] [http://efrosine.50webs.com/directory/volo-san6/ volo san donato milanese] [http://rzd.50webs.com/ferrara-hotel/ ferrara hotel] [http://lavinyacreates.50webs.com/html/operazione-desert/ operazione desert storm] [http://moxivad.50webs.com/web/lettore-divx42.html lettore divx amplificatore] [http://efrosine.50webs.com/directory/bud-spencer1/ bud spencer] [http://efrosine.50webs.com/directory/mooto-gp/ mooto gp] [http://lovereceiver.50webs.com/description/www8/ www 3] [http://mirnaladonyax.50webs.com/data/bubsy-d.html bubsy 3d] [http://rzd.50webs.com/inside/ inside] [http://moxivad.50webs.com/web/assicurazione-fabriano.html assicurazione fabriano] [http://missmane.50webs.com/ophelie/ ophelie] [http://missmane.50webs.com/la-luna19/ la luna stasera] [http://lesliesecho.50webs.com/emulatori-playstation1.html emulatori playstation] [http://ammjong.50webs.com/web/defecazione-sesso.html defecazione sesso] [http://eyeh8everywon.50webs.com/asus-ansli13.htm asus a8nsli premium nforce4 sli] [http://helenadole.50webs.com/il-romanzo6.htm il romanzo di lillian russell] [http://deedeecam.50webs.com/blog/freak-a/ freak a leek] [http://efrosine.50webs.com/directory/allestimenti-stand/ allestimenti stand fieristici] [http://missmane.50webs.com/vacanza-neve1/ vacanza neve montagna] [http://viktoza.50webs.com/new/dvd-25/ dvd 8 5gb] [http://missmane.50webs.com/testo-d1/ testo d legislativo 10 9 1991 n 303] [http://eyeh8everywon.50webs.com/camera-commercio6.htm camera commercio empoli] [http://viktoza.50webs.com/new/california-dei2/ california dei phantom] [http://missmane.50webs.com/www-meditel/ www meditel ma] [http://mentalitch.50webs.com/topic/preview-stampa.htm preview stampa vb] [http://moxivad.50webs.com/web/amore-maledetto.html amore maledetto] [http://mentalitch.50webs.com/topic/ronea.htm ronea] [http://kagomeshuko.50webs.com/text/stay-testo/ stay testo] [http://piraticalman.50webs.com/luomo-che21.html luomo che uccideva a sangue freddo] [http://efrosine.50webs.com/directory/kakawin/ kakawin] [http://rzd.50webs.com/irvin-goffman/ irvin goffman] [http://kagomeshuko.50webs.com/text/fido/ fido] [http://viktoza.50webs.com/new/e-lucean/ e lucean le stelle] [http://efrosine.50webs.com/directory/gioco-hapland/ gioco hapland] [http://mentalitch.50webs.com/topic/mondo-giochi.htm mondo giochi] [http://viktoza.50webs.com/new/gascoigne-george/ gascoigne george] [http://helenadole.50webs.com/elettrodi-elettrostimolatore.htm elettrodi elettrostimolatore] [http://ammjong.50webs.com/web/sculacciarla.html sculacciarla] [http://deedeecam.50webs.com/blog/dancing-in1/ dancing in the moodlight] [http://kagomeshuko.50webs.com/text/what-more1/ what more can i say] [http://viktoza.50webs.com/new/g-cellulari/ g7050 cellulari lg] [http://rzd.50webs.com/pabo/ pabo] [http://helenadole.50webs.com/dance-dance2.htm dance dance revolution extreme] [http://lavinyacreates.50webs.com/html/cd-key8/ cd key windows] [http://amandab.50webs.com/blog/epistolae-obscurorum/ epistolae obscurorum virorum] [http://rzd.50webs.com/www-kelkoo/ www kelkoo it] [http://deedeecam.50webs.com/blog/logitech-thx/ logitech thx] [http://missmane.50webs.com/fidati-di/ fidati di me laura pausini] [http://viktoza.50webs.com/new/tortello/ tortello] [http://eyeh8everywon.50webs.com/she-ll.htm she ll be loved] [http://amandab.50webs.com/blog/la-casa70/ la casa nella prateria] [http://amandab.50webs.com/blog/stampante-epson36/ stampante epson stylus 7800 pro] [http://greenquotebook.50webs.com/phuket-hotel.htm phuket hotel] [http://lavinyacreates.50webs.com/html/un-anno5/ un anno d amore turco] [http://lovereceiver.50webs.com/description/bliard/ bliard] [http://rjdudak.50webs.com/description/campionato-esteri.htm campionato esteri calcio] [http://missmane.50webs.com/www-cic/ www cic gc ca] [http://amandab.50webs.com/blog/wolfgang-reinhard/ wolfgang reinhard storia del potere] [http://xxiunicorn.50webs.com/lib/rover4.htm rover 100] [http://wannachange.50webs.com/content/un-amore12/ un amore senza fine] [http://greenpoint.50webs.com/html/estados-nayarit/ estados nayarit] [http://wannachange.50webs.com/content/poletti/ poletti] [http://greenpoint.50webs.com/html/scheda-madre23/ scheda madre scsi] [http://sirpengalot.50webs.com/heavy-gunner/ heavy gunner] [http://xxiunicorn.50webs.com/lib/forno-microonde4.htm forno microonde rex] [http://insomniashe.50webs.com/data/mamut-chiquitito/ mamut chiquitito] [http://annetinternet.50webs.com/lib/cassiopea.htm cassiopea] [http://nonsmoker.50webs.com/data/cd-giochi.htm cd giochi] [http://xxiunicorn.50webs.com/lib/photo-de3.htm photo de rock voisine] [http://greenpoint.50webs.com/html/vetreria-vetrate/ vetreria vetrate artistiche torri] [http://scruffytom.50webs.com/topic/ariston-atd.html ariston atd 104] [http://insomniashe.50webs.com/data/il-testo5/ il testo kevlar] [http://poetofdreams.50webs.com/blog/www-caltanisseta.html www caltanisseta it] [http://scruffytom.50webs.com/topic/golf-tdi9.html golf tdi 115 cv] [http://deeahblita.50webs.com/ws-mv/ ws 32m206v] [http://poetofdreams.50webs.com/blog/baldan-bembo.html baldan bembo] [http://agarvey.50webs.com/blog/lavoro-subordinato.htm lavoro subordinato] [http://watchmegirls.50webs.com/topic/risorsa-gratuita.htm risorsa gratuita webmaster] [http://jennygray.50webs.com/blog/sigla-tg/ sigla tg 4] [http://jennygray.50webs.com/blog/sfondi-gatto1/ sfondi gatto] [http://wannachange.50webs.com/content/simona-venture/ simona venture e stefano bettarini] [http://missirish9.50webs.com/xyq.htm xyq] [http://poetoams.50webs.com/web/liteon-sx/ liteon 852sx] [http://chaoticide.50webs.com/text/al-jazeera/ al jazeera net] [http://anga12.50webs.com/content/la-fidanzata/ la fidanzata] [http://watchmegirls.50webs.com/topic/valore-immobile.htm valore immobile] [http://revjo.50webs.com/view/onore-e2/ onore e fedelta] [http://xxiunicorn.50webs.com/lib/router-di.htm router di604] [http://almightyshippo.50webs.com/web/action-d.html action 3d] [http://deeahblita.50webs.com/calendari-arte/ calendari arte 2005] [http://jimmymnemonic.50webs.com/linksys-ag.html linksys ag241] [http://deeahblita.50webs.com/sodimm-ddr2/ sodimm ddr pc2100] [http://wannachange.50webs.com/content/delitti-senza/ delitti senza castigo] [http://chaoticide.50webs.com/text/philips-mp2/ philips mp3] [http://almightyshippo.50webs.com/web/keys-viaccess1.html keys viaccess seca] [http://watchmegirls.50webs.com/topic/classifiche-dei.htm classifiche dei dischi] [http://scruffytom.50webs.com/topic/cyt-cyt.html cyt cyt] [http://sirpengalot.50webs.com/norvegia-ristorante/ norvegia ristorante] [http://poetoams.50webs.com/web/toner-minolta1/ toner minolta 1200] [http://chaoticide.50webs.com/text/concorso-iscriviti/ concorso iscriviti vinci] [http://annetinternet.50webs.com/lib/prestito-frascati.htm prestito frascati] [http://jimmymnemonic.50webs.com/Fumetti-dragonball1.html fumetti dragonball xxx] [http://agarvey.50webs.com/blog/un-filmato.htm un filmato per advent rising] [http://insomniashe.50webs.com/data/nikon-fotocamera/ nikon fotocamera digitale] [http://scruffytom.50webs.com/topic/bluecity.html bluecity] [http://jimmymnemonic.50webs.com/ovatio-1.html ovatio 3 duo] [http://annetinternet.50webs.com/lib/nvidia-quadro4.htm nvidia quadro4 980 xgl] [http://agarvey.50webs.com/blog/hadhra.htm hadhra] [http://revjo.50webs.com/view/tv-14/ tv 21 pollici] [http://poetofdreams.50webs.com/blog/seno-liguori.html seno liguori] [http://sirpengalot.50webs.com/codice-delle/ codice delle assicurazione] [http://annetinternet.50webs.com/lib/great-smoky.htm great smoky mountains] [http://insomniashe.50webs.com/data/tienimi-con1/ tienimi con te baglioni] [http://watchmegirls.50webs.com/topic/forza-tutti.htm forza tutti all arrembaggio] [http://annetinternet.50webs.com/lib/auto-golf.htm auto golf a km zero padova e provincia] [http://jennygray.50webs.com/blog/i-pod3/ i pod mini] [http://xxiunicorn.50webs.com/lib/pioneer-vsxdk.htm pioneer vsxd514k] [http://agarvey.50webs.com/blog/mutu-laura.htm mutu laura andresan] [http://poetofdreams.50webs.com/blog/bach-.html bach 4 corda] [http://anga12.50webs.com/content/malinverno-costante/ malinverno costante] [http://sirpengalot.50webs.com/hd-maxtor6/ hd maxtor 40gb] [http://jennygray.50webs.com/blog/cuba-vacanze1/ cuba vacanze] [http://greenpoint.50webs.com/html/adriana-lima/ adriana lima sexi] [http://almightyshippo.50webs.com/web/delta-goodream.html delta goodream] [http://annetinternet.50webs.com/lib/ipod-gb.htm ipod 40gb] [http://chaoticide.50webs.com/text/invio-gratis/ invio gratis sms] [http://mingislazydork.50webs.com/opere-arte/ opere arte paleocristiana] [http://revjo.50webs.com/view/spartiti-modugno/ spartiti modugno] [http://jennygray.50webs.com/blog/himno-de1/ himno de la up] [http://sirpengalot.50webs.com/symantec-antivirus/ symantec antivirus 10] [http://watchmegirls.50webs.com/topic/saracca.htm saracca] [http://nonsmoker.50webs.com/data/oscure-presenze.htm oscure presenze a cold creek] [http://jimmymnemonic.50webs.com/sergio-campari.html sergio campari mi] [http://poetofdreams.50webs.com/blog/avc.html avc 1131] [http://deeahblita.50webs.com/gioco-delle1/ gioco delle biglie] [http://mingislazydork.50webs.com/hotel-maia/ hotel maia lido riccio] [http://revjo.50webs.com/view/mercatini-antiquariato/ mercatini antiquariato cecina] [http://missirish9.50webs.com/palmone-t1.htm palmone t5] [http://xxiunicorn.50webs.com/lib/mary-beth.htm mary beth] [http://anga12.50webs.com/content/itacare-brasile/ itacare brasile] [http://scruffytom.50webs.com/topic/nokia-90.html nokia 7710 tomtom 5] [http://scruffytom.50webs.com/topic/dvd-ram1.html dvd ram vergine] [http://jimmymnemonic.50webs.com/medical-house.html medical house accessori] [http://jimmymnemonic.50webs.com/sangha-haute.html sangha haute] [http://jennygray.50webs.com/blog/indispensabile/ indispensabile] [http://sirpengalot.50webs.com/addio-ventanni/ addio ventanni] [http://greenpoint.50webs.com/html/calamistro/ calamistro] [http://sirpengalot.50webs.com/lancia-delta/ lancia delta hf turbo integrale] [http://insomniashe.50webs.com/data/rex-rd3/ rex rd 165 d] [http://jennygray.50webs.com/blog/cecile-minibus/ cecile minibus] [http://revjo.50webs.com/view/come-da/ come da foto] [http://poetofdreams.50webs.com/blog/kagul.html kagul] [http://deeahblita.50webs.com/adobe-acrobat/ adobe acrobat 7 professional] [http://poetofdreams.50webs.com/blog/revit.html revit] [http://revjo.50webs.com/view/tavoletta-grafica5/ tavoletta grafica mac] [http://deeahblita.50webs.com/aleixandre-vicente/ aleixandre vicente] [http://wannachange.50webs.com/content/hotel-brescia/ hotel brescia] [http://jimmymnemonic.50webs.com/il-sogno3.html il sogno ceco] == 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 7: Line 7:


<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 />
Sleeps for <i>delay</i> 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:41, 21 October 2007

morometzii yamaha rxv450 appunti algebra ferro stiro vapore porno trans web sunat alfa gtv turbo torino cagliari sunna bimbi in spiaggia yashica kyocera ez bobble babble foto delle stars adsl router wifi sata diamondmax 16 dvd stampante fax telecom raffaello www az it caminetto rustici data traveler kingston 256 mb bear chare tsuruoka dama gratis ragazzine nude mentana enrico fortron 400w fan 80x80 vido ostaggi v3 razr cellulari motorola nvidia fx trucchi gta3 la sorpresa renga tommy vee selection www festivalbar it backstage foto artist sex gratuit elvis presley aloha from hawaii scala milano commento la quiete dopo la tempesta table tennis ii ping pong ultime lettere di ortis lettore cf compact flash www sesso spinto it volo san donato milanese ferrara hotel operazione desert storm lettore divx amplificatore bud spencer mooto gp www 3 bubsy 3d inside assicurazione fabriano ophelie la luna stasera emulatori playstation defecazione sesso asus a8nsli premium nforce4 sli il romanzo di lillian russell freak a leek allestimenti stand fieristici vacanza neve montagna dvd 8 5gb testo d legislativo 10 9 1991 n 303 camera commercio empoli california dei phantom www meditel ma preview stampa vb amore maledetto ronea stay testo luomo che uccideva a sangue freddo kakawin irvin goffman fido e lucean le stelle gioco hapland mondo giochi gascoigne george elettrodi elettrostimolatore sculacciarla dancing in the moodlight what more can i say g7050 cellulari lg pabo dance dance revolution extreme cd key windows epistolae obscurorum virorum www kelkoo it logitech thx fidati di me laura pausini tortello she ll be loved la casa nella prateria stampante epson stylus 7800 pro phuket hotel un anno d amore turco bliard campionato esteri calcio www cic gc ca wolfgang reinhard storia del potere rover 100 un amore senza fine estados nayarit poletti scheda madre scsi heavy gunner forno microonde rex mamut chiquitito cassiopea cd giochi photo de rock voisine vetreria vetrate artistiche torri ariston atd 104 il testo kevlar www caltanisseta it golf tdi 115 cv ws 32m206v baldan bembo lavoro subordinato risorsa gratuita webmaster sigla tg 4 sfondi gatto simona venture e stefano bettarini xyq liteon 852sx al jazeera net la fidanzata valore immobile onore e fedelta router di604 action 3d calendari arte 2005 linksys ag241 sodimm ddr pc2100 delitti senza castigo philips mp3 keys viaccess seca classifiche dei dischi cyt cyt norvegia ristorante toner minolta 1200 concorso iscriviti vinci prestito frascati fumetti dragonball xxx un filmato per advent rising nikon fotocamera digitale bluecity ovatio 3 duo nvidia quadro4 980 xgl hadhra tv 21 pollici seno liguori codice delle assicurazione great smoky mountains tienimi con te baglioni forza tutti all arrembaggio auto golf a km zero padova e provincia i pod mini pioneer vsxd514k mutu laura andresan bach 4 corda malinverno costante hd maxtor 40gb cuba vacanze adriana lima sexi delta goodream ipod 40gb invio gratis sms opere arte paleocristiana spartiti modugno himno de la up symantec antivirus 10 saracca oscure presenze a cold creek sergio campari mi avc 1131 gioco delle biglie hotel maia lido riccio mercatini antiquariato cecina palmone t5 mary beth itacare brasile nokia 7710 tomtom 5 dvd ram vergine medical house accessori sangha haute indispensabile addio ventanni calamistro lancia delta hf turbo integrale rex rd 165 d cecile minibus come da foto kagul adobe acrobat 7 professional revit tavoletta grafica mac aleixandre vicente hotel brescia il sogno ceco == Part 7 - Miscellaneous ==

Mostly internal stuff. Some good for everyone, some only for ASH wizards.

void print( string output )
void print( string output, string color )
Prints output to the CLI buffer and displays it in the status line of the main Adventuring window. If color is specified any HTML in output is escaped and the string is wrapped in a font tag before being printed.

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