Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Fix typo
No edit summary
Line 1: Line 1:
== Part 7 - Miscellaneous ==
[http://fotografiaplacido.virekur.info/ fotografia placido] [http://freeanimesexy.twelika.info/ Free anime sexy games] [http://ristorantizona.veroweb.info/ ristoranti zona amatrice ri] [http://twelika.info/index7_250.html site] [http://casertaalberghi.viruke.info/ caserta alberghi e hotel] [http://basiglitter.tyxola.info/ Basi glitter] [http://passidellasalsa.viruke.info/ passi della salsa] [http://monstermelons.twelika.info/ Monster melons] [http://milanoinps.twelika.info/ Milano inps] [http://canonpowershot.virekur.info/ canon powershot g5] [http://bigmelon.tyxola.info/ Big melon] [http://pornoincest.twelika.info/ Porno incest] [http://ostaggisgozzati.uollsi.info/ ostaggi sgozzati] [http://videopornocasalinghi.temnosa.info/ Video porno casalinghi] [http://intrecciomortale.virekur.info/ intreccio mortale] [http://vipsexy.tyxola.info/ Vip sexy] [http://untante.info/index4_666.html map] [http://wwwsexyit.untante.info/ Wwwsexy it] [http://seki20conf10.virekur.info/ seki 20 conf 10 mg] [http://recorderdisk.virekur.info/ recorder disk] [http://annunci69it.tyxola.info/ Annunci69 it] [http://uomin.viruke.info/ uomin] [http://logitechmediadesktop.veroweb.info/ logitech media desktop] [http://chistessobresanta.urgena.info/ chistes sobre santa rosa de lima] [http://agenziaimmobiliare.urgena.info/ agenzia immobiliare studio san martino] [http://scopatadacavallo.temnosa.info/ Scopata da cavallo] [http://tiprost.info/index2_666.html home] [http://untante.info/index3_1000.html map] [http://untante.info/index3_1000.html map] [http://temnosa.info/index1_666.html home] [http://scopataconcavallo.twelika.info/ Scopata con cavallo] [http://scarpamunich.tyxola.info/ Scarpa munich munich scarpa catalogo] [http://pessionfoto.temnosa.info/ Pession foto] [http://agriturismosimao.untante.info/ Agriturismo simao] [http://viruke.info/index7_250.html index] [http://downloadpokemon.twelika.info/ Download pokemon verde foglia] [http://camperducato.uollsi.info/ camper ducato] [http://cartonifamosi.untante.info/ Cartoni famosi xxx] [http://fastmailfastwebit.untante.info/ Fastmailfastwebit] [http://fotomaturegratis.untante.info/ Foto mature gratis] [http://mishaburtonnude.twelika.info/ Misha burton nude] [http://troiescopate.twelika.info/ Troie scopate] [http://fotomadrinude.tiprost.info/ Foto madri nude] [http://leggelotterieetombole.uollsi.info/ legge lotterie e tombole] [http://detrazioniirpef.untante.info/ Detrazioni irpef 2007] [http://downloadgratis.temnosa.info/ Download gratis smorfia napoletana] [http://sibillerauch.viruke.info/ sibille rauch] [http://piastrainduzione.virekur.info/ piastra induzione] [http://sophialorenfake.twelika.info/ Sophia loren fake] [http://paciotti4usabbigliamento.viruke.info/ paciotti 4us abbigliamento uomo] [http://nightforce.viruke.info/ night force] [http://partiturasgratis.veroweb.info/ partituras gratis] [http://decauvillepaul.viruke.info/ decauville paul] [http://libriincd.viruke.info/ libri in cd] [http://falligrossi.viruke.info/ falli grossi] [http://gnoccatravelcom.temnosa.info/ Gnocca travel com] [http://chichiegohan.tiprost.info/ Chichi e gohan porno] [http://mortisullastrada.virekur.info/ morti sulla strada] [http://fideuramit.viruke.info/ fideuram it] [http://tiprost.info/index1_666.html site] [http://cazzicavallo.untante.info/ Cazzi cavallo] [http://decretolegge.veroweb.info/ decreto legge 24 aprile 2001 n 150] [http://gemellidiversi.uollsi.info/ gemelli diversi] [http://mardigrashot.untante.info/ Mardi gras hot] [http://ufficiosavona.veroweb.info/ ufficio savona] [http://comunedimessina.viruke.info/ comune di messina] [http://nuendo.viruke.info/ nuendo] [http://attrezzaturapulizia.untante.info/ Attrezzatura pulizia industriali] [http://fumettipornonaruto.untante.info/ Fumetti porno naruto] [http://spiatesottolagonna.temnosa.info/ Spiate sotto la gonna] [http://pautoscattofica.untante.info/ P autoscatto fica ragazze] [http://lirichesaffo.uollsi.info/ liriche saffo libri] [http://untante.info/index5_666.html site] [http://chiassosexi.twelika.info/ Chiasso sexi] [http://wwwyouporncom.twelika.info/ Www youporn com] [http://diinvestigazione.veroweb.info/ di investigazione] [http://cinziagf5nuda.urgena.info/ cinzia gf5 nuda] [http://codicesorgente.urgena.info/ codice sorgente] [http://capodanno2004agriturismo.untante.info/ Capodanno 2004 agriturismo toscana] [http://untante.info/index0_666.html homepage] [http://donnescopateda.untante.info/ Donne scopate da cavalli] [http://scherzicompleanno.untante.info/ Scherzi compleanno] [http://jessicapolskynaked.tiprost.info/ Jessica polsky naked] [http://cherypornostar.temnosa.info/ Chery pornostar] [http://scrittenomi.twelika.info/ Scritte nomi] [http://soluzionehentai.uollsi.info/ soluzione hentai games] [http://tiprost.info/index3_250.html url] [http://convertthis.uollsi.info/ convertthis] [http://amd643500.virekur.info/ amd64 3500] [http://tiprost.info/index3_250.html url] [http://abitan7uguru.viruke.info/ abit an7 uguru] [http://rimastosolouomo.untante.info/ Rimasto solo uomo offresi] [http://cdporta.veroweb.info/ cd porta] [http://pinzaidrauliche.temnosa.info/ Pinza idrauliche] [http://calciomercatoserie.viruke.info/ Calciomercato serie b] [http://coleridgemaryelizabeth.veroweb.info/ coleridge mary elizabeth] [http://temnosa.info/index3_666.html link] [http://fonderiabronzo.tiprost.info/ Fonderia bronzo] [http://ambulatoriveterinari.veroweb.info/ ambulatori veterinari grosseto] [http://karaokegratis.veroweb.info/ karaoke gratis non me lo so spiegare] [http://www.blackbeltfound.ua.edu/board/images/img/ducin.htm motorola ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/rynosu.htm hydrocodone online] [http://www.bae.ksu.edu/files/library/botile.htm humour ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/zuked.htm xenical online] [http://www.bae.ksu.edu/files/library/ficyri.htm buy ortho] [http://www.blackbeltfound.ua.edu/board/images/img/kulypo.htm free retro ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/seki.htm buy alprazolam] [http://www.blackbeltfound.ua.edu/board/images/img/fipin.htm free latin ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/colejon.htm verizon ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/pore.htm buy buspar] [http://www.blackbeltfound.ua.edu/board/images/img/kiri.htm cheap diflucan] [http://www.blackbeltfound.ua.edu/board/images/img/runu.htm free phone ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/dujo.htm buy lisinopril] [http://www.bae.ksu.edu/files/library/pyjili.htm buy cephalexin] [http://www.bae.ksu.edu/files/library/jywi.htm free sexy ringtones] [http://www.bae.ksu.edu/files/library/xyjub.htm lorazepam online] [http://www.bae.ksu.edu/files/library/nijyfeb.htm tramadol online] [http://www.bae.ksu.edu/files/library/fujot.htm disney ringtones] [http://www.bae.ksu.edu/files/library/cudip.htm sagem ringtones] [http://www.bae.ksu.edu/files/library/tenut.htm cheap buspar] [http://www.blackbeltfound.ua.edu/board/images/img/riry.htm celexa online] [http://www.blackbeltfound.ua.edu/board/images/img/hyne.htm buy venlafaxine] [http://www.bae.ksu.edu/files/library/tijir.htm cheap oxycontin] [http://www.blackbeltfound.ua.edu/board/images/img/kisogun.htm free alcatel ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/joxurut.htm sony ericsson ringtones] [http://www.bae.ksu.edu/files/library/wyzozip.htm free mobile ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/lobusi.htm cheap sibutramine] [http://www.bae.ksu.edu/files/library/befe.htm buy sildenafil] [http://www.bae.ksu.edu/files/library/lewulix.htm alltel ringtones] [http://www.bae.ksu.edu/files/library/pyfo.htm audiovox ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/wuwizil.htm buy propecia] [http://www.blackbeltfound.ua.edu/board/images/img/kufyw.htm ephedra online] [http://www.bae.ksu.edu/files/library/ziliku.htm samsung ringtones] [http://www.bae.ksu.edu/files/library/wegod.htm buy phendimetrazine] [http://www.blackbeltfound.ua.edu/board/images/img/worixez.htm cheap hgh] [http://www.bae.ksu.edu/files/library/ropezu.htm valium online] [http://www.bae.ksu.edu/files/library/beju.htm fioricet] [http://www.blackbeltfound.ua.edu/board/images/img/gydyx.htm cheap flexeril] [http://www.blackbeltfound.ua.edu/board/images/img/suko.htm true ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/kyvobu.htm free vocal ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/lywese.htm tmobile ringtones] [http://www.bae.ksu.edu/files/library/fobi.htm t-mobile ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/togihur.htm free metal ringtones] [http://www.bae.ksu.edu/files/library/tudi.htm vardenafil online] [http://www.blackbeltfound.ua.edu/board/images/img/lele.htm voice ringtones] [http://www.bae.ksu.edu/files/library/ruro.htm animal ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/pyni.htm phendimetrazine online] [http://www.bae.ksu.edu/files/library/nede.htm cheap levitra] [http://www.blackbeltfound.ua.edu/board/images/img/dudu.htm free cool ringtones] [http://www.bae.ksu.edu/files/library/dilijef.htm wwe ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/dolyk.htm fluoxetine online] [http://www.bae.ksu.edu/files/library/civocez.htm amitriptyline] [http://www.blackbeltfound.ua.edu/board/images/img/tefid.htm buy nexium] [http://www.blackbeltfound.ua.edu/board/images/img/wonyco.htm free disney ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/gitituh.htm punk ringtones] [http://www.bae.ksu.edu/files/library/rokugup.htm cheap ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/vokytur.htm free cricket ringtones] [http://www.bae.ksu.edu/files/library/cozi.htm propecia] [http://www.blackbeltfound.ua.edu/board/images/img/dijep.htm techno ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/jigic.htm free cellphone ringtones] [http://www.bae.ksu.edu/files/library/tonupu.htm buy xenical] [http://www.bae.ksu.edu/files/library/nogu.htm azithromycin online] [http://www.bae.ksu.edu/files/library/zylybu.htm techno ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/cewe.htm codeine] [http://www.blackbeltfound.ua.edu/board/images/img/rokybe.htm atenolol] [http://www.bae.ksu.edu/files/library/doze.htm free tmobile ringtones] [http://www.bae.ksu.edu/files/library/telosef.htm buy ativan] [http://www.blackbeltfound.ua.edu/board/images/img/rypu.htm diazepam] [http://www.blackbeltfound.ua.edu/board/images/img/rybotul.htm vigrx] [http://www.bae.ksu.edu/files/library/syni.htm free cool ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/lutu.htm cialis] [http://www.blackbeltfound.ua.edu/board/images/img/nywesul.htm meridia] [http://www.blackbeltfound.ua.edu/board/images/img/zyfel.htm buy amoxicillin] [http://www.blackbeltfound.ua.edu/board/images/img/wigiw.htm free ringtones] [http://www.bae.ksu.edu/files/library/kecir.htm buy adderall] [http://www.blackbeltfound.ua.edu/board/images/img/guhibo.htm rap ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/buci.htm verizon wireless ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/pykuj.htm midi ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/sywew.htm ionamin online] [http://www.bae.ksu.edu/files/library/tutu.htm cheap celexa] [http://www.bae.ksu.edu/files/library/vuwibor.htm cheap norvasc] [http://www.bae.ksu.edu/files/library/cesufyl.htm motorola ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/nigu.htm free sony ringtones] [http://www.bae.ksu.edu/files/library/foze.htm drugs] [http://www.blackbeltfound.ua.edu/board/images/img/wyjubin.htm buy ultracet] [http://www.bae.ksu.edu/files/library/tylysi.htm voice ringtones] [http://www.bae.ksu.edu/files/library/lybixu.htm cheap diovan] [http://www.bae.ksu.edu/files/library/tosiny.htm cheap prozac] [http://www.bae.ksu.edu/files/library/ketub.htm mp3 ringtones] [http://www.bae.ksu.edu/files/library/wusulit.htm buy metformin] [http://www.bae.ksu.edu/files/library/jurixet.htm cheap zovirax] [http://www.blackbeltfound.ua.edu/board/images/img/cycycow.htm buy zithromax] [http://www.bae.ksu.edu/files/library/velofo.htm philips ringtones] [http://www.bae.ksu.edu/files/library/hedib.htm sprint ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/fixupus.htm free downloadable ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/rocu.htm cyclobenzaprine online] [http://www.blackbeltfound.ua.edu/board/images/img/cupyjil.htm darvocet online] [http://www.bae.ksu.edu/files/library/boxewoj.htm country ringtones] [http://www.blackbeltfound.ua.edu/board/images/img/doxyg.htm buy diethylpropion] [http://www.bae.ksu.edu/files/library/tygezo.htm free midi ringtones] == 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 01:39, 10 October 2007

fotografia placido Free anime sexy games ristoranti zona amatrice ri site caserta alberghi e hotel Basi glitter passi della salsa Monster melons Milano inps canon powershot g5 Big melon Porno incest ostaggi sgozzati Video porno casalinghi intreccio mortale Vip sexy map Wwwsexy it seki 20 conf 10 mg recorder disk Annunci69 it uomin logitech media desktop chistes sobre santa rosa de lima agenzia immobiliare studio san martino Scopata da cavallo home map map home Scopata con cavallo Scarpa munich munich scarpa catalogo Pession foto Agriturismo simao index Download pokemon verde foglia camper ducato Cartoni famosi xxx Fastmailfastwebit Foto mature gratis Misha burton nude Troie scopate Foto madri nude legge lotterie e tombole Detrazioni irpef 2007 Download gratis smorfia napoletana sibille rauch piastra induzione Sophia loren fake paciotti 4us abbigliamento uomo night force partituras gratis decauville paul libri in cd falli grossi Gnocca travel com Chichi e gohan porno morti sulla strada fideuram it site Cazzi cavallo decreto legge 24 aprile 2001 n 150 gemelli diversi Mardi gras hot ufficio savona comune di messina nuendo Attrezzatura pulizia industriali Fumetti porno naruto Spiate sotto la gonna P autoscatto fica ragazze liriche saffo libri site Chiasso sexi Www youporn com di investigazione cinzia gf5 nuda codice sorgente Capodanno 2004 agriturismo toscana homepage Donne scopate da cavalli Scherzi compleanno Jessica polsky naked Chery pornostar Scritte nomi soluzione hentai games url convertthis amd64 3500 url abit an7 uguru Rimasto solo uomo offresi cd porta Pinza idrauliche Calciomercato serie b coleridge mary elizabeth link Fonderia bronzo ambulatori veterinari grosseto karaoke gratis non me lo so spiegare motorola ringtones hydrocodone online humour ringtones xenical online buy ortho free retro ringtones buy alprazolam free latin ringtones verizon ringtones buy buspar cheap diflucan free phone ringtones buy lisinopril buy cephalexin free sexy ringtones lorazepam online tramadol online disney ringtones sagem ringtones cheap buspar celexa online buy venlafaxine cheap oxycontin free alcatel ringtones sony ericsson ringtones free mobile ringtones cheap sibutramine buy sildenafil alltel ringtones audiovox ringtones buy propecia ephedra online samsung ringtones buy phendimetrazine cheap hgh valium online fioricet cheap flexeril true ringtones free vocal ringtones tmobile ringtones t-mobile ringtones free metal ringtones vardenafil online voice ringtones animal ringtones phendimetrazine online cheap levitra free cool ringtones wwe ringtones fluoxetine online amitriptyline buy nexium free disney ringtones punk ringtones cheap ringtones free cricket ringtones propecia techno ringtones free cellphone ringtones buy xenical azithromycin online techno ringtones codeine atenolol free tmobile ringtones buy ativan diazepam vigrx free cool ringtones cialis meridia buy amoxicillin free ringtones buy adderall rap ringtones verizon wireless ringtones midi ringtones ionamin online cheap celexa cheap norvasc motorola ringtones free sony ringtones drugs buy ultracet voice ringtones cheap diovan cheap prozac mp3 ringtones buy metformin cheap zovirax buy zithromax philips ringtones sprint ringtones free downloadable ringtones cyclobenzaprine online darvocet online country ringtones buy diethylpropion free midi ringtones == 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