Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Removed spam
No edit summary
Line 1: Line 1:
== Part 7 - Miscellaneous ==
[http://nutribun.profil.in/resources/bandanas/ bandanas] [http://theiamina.w8w.pl/content/metering.html metering] [http://lord-griever.nightmail.ru/small/jimmy-hoffa/ jimmy hoffa] [http://theunknowntao.profil.bz/styles/namco.html namco] [http://theiamina.w8w.pl/content/american-greeting.html american greeting free ecard] [http://twinkletoeash.profil.bz/topic/trampoline-sales/ trampoline sales] [http://dannyboy2007.profil.cc/directory/usb-cd.html usb cd burner linux] [http://theunknowntao.profil.bz/styles/amsterdam-sin.html amsterdam sin city] [http://kinkyjedi.about.vg/text/dolly-parton/ dolly parton mp3] [http://wwwisevil.profil.bz/lib/ass-latinas/ ass latinas phat] [http://gogenator.friko.pl/library/el-paso/ el paso tx police department] [http://theiamina.w8w.pl/content/bigcocksex.html bigcocksex] [http://amoresperros812.profil.in/text/cheap-package/ cheap package] [http://baler.ugu.pl/new/perkins/ perkins] [http://baler.ugu.pl/new/mortal-third/ mortal third] [http://krisbabe47.ugu.pl/small/eric-carle.html eric carle] [http://gogenator.friko.pl/library/wains-world/ wains world 2] [http://krisbabe47.ugu.pl/small/guerra.html guerra] [http://baler.ugu.pl/new/wholesale-fashion/ wholesale fashion accessories] [http://krisbabe47.ugu.pl/small/catalyst.html catalyst] [http://theiamina.w8w.pl/content/cup.html cup] [http://baler.ugu.pl/new/army-correspondence/ army correspondence course answers] [http://twinkletoeash.profil.bz/topic/ml/ 350ml] [http://krisbabe47.ugu.pl/small/teasing-and.html teasing and denial] [http://theiamina.w8w.pl/content/aol-im.html aol im] [http://yhwhadonai.profil.ms/topic/hotties.html hotties] [http://cah9i.friko.pl/new/early-symptoms/ early symptoms of hiv] [http://baler.ugu.pl/new/young-snatch/ young snatch] [http://nutribun.profil.in/resources/charlton-heston/ charlton heston] [http://nehpetsca.profil.cn/new/protected-area/ protected area] [http://cah9i.friko.pl/new/women-butts/ women butts] [http://cah9i.friko.pl/new/bk-bump/ b2k bump bump bump] [http://krisbabe47.ugu.pl/small/home-equity.html home equity line of credit] [http://theiamina.w8w.pl/content/rockos-modern.html rockos modern life] [http://twinkletoeash.profil.bz/topic/ten-years/ ten years after] [http://gogenator.friko.pl/library/evil-angel/ evil angel] [http://cahert.aboutus.vg/styles/fire-proof/ fire proof safe] [http://theunknowntao.profil.bz/styles/assgm.html assgm] [http://misssakic.profil.ms/data/cheerleader-lesbians.html cheerleader lesbians] [http://closedforlunch.profil.in/obese.html obese] [http://dannyboy2007.profil.cc/directory/giving-good.html giving good head] [http://closedforlunch.profil.in/underage-girls.html underage girls having sex] [http://theiamina.w8w.pl/content/outlaws.html outlaws] [http://theiamina.w8w.pl/content/schusters.html schusters] [http://antilos.profil.in/html/head-shop.html head shop] [http://theunknowntao.profil.bz/styles/arbour-court.html arbour court seattle] [http://krisbabe47.ugu.pl/small/pinay-big.html pinay big] [http://dannyboy2007.profil.cc/directory/lusty-mexican.html lusty mexican girls] [http://silivrenglaur.nm.ru/description/internet-options/ internet options history] [http://silivrenglaur.nm.ru/description/weak-bladder/ weak bladder] [http://krisbabe47.ugu.pl/small/fully-fashioned.html fully fashioned stockings] [http://theiamina.w8w.pl/content/little-tits.html little tits] [http://yhwhadonai.profil.ms/topic/mature-blow.html mature blow job] [http://baler.ugu.pl/new/business-coaching/ business coaching] [http://nehpetsca.profil.cn/new/nude-paradise/ nude paradise hotel] [http://krisbabe47.ugu.pl/small/journal.html journal] [http://thesaucernews.profil.bz/public-records/ public records] [http://cah9i.friko.pl/new/celeb-paparazzi/ celeb paparazzi] [http://gogenator.friko.pl/library/cartoon-sex/ cartoon sex anime] [http://theiamina.w8w.pl/content/xbox.html xbox360] [http://thesaucernews.profil.bz/mowers/ mowers] [http://baler.ugu.pl/new/horny-jocks/ horny jocks] [http://krisbabe47.ugu.pl/small/insurance-lead.html insurance lead life senior] [http://cah9i.friko.pl/new/norton-antivirus/ norton antivirus] [http://wwwisevil.profil.bz/lib/wcw-sting/ wcw sting] [http://antisilence.profil.gs/topic/prevention-program/ prevention program evaluation] [http://cah9i.friko.pl/new/whale/ whale] [http://tersky.profil.bz/library/vermont-real.html vermont real estate] [http://kinkyjedi.about.vg/text/st-christopher/ st christopher medals] [http://baler.ugu.pl/new/meta-tag/ meta tag editor] [http://krisbabe47.ugu.pl/small/clay-walker.html clay walker] [http://baler.ugu.pl/new/drunk-driving/ drunk driving facts] [http://twinkletoeash.profil.bz/topic/shower-favors/ shower favors] [http://antilos.profil.in/html/minute-maid.html minute maid park] [http://cah9i.friko.pl/new/makers-of/ makers of diamond jewellery] [http://amoresperros812.profil.in/text/health-care/ health care] [http://yhwhadonai.profil.ms/topic/baywatch-hawaii.html baywatch hawaii] [http://gogenator.friko.pl/library/theme-from/ theme from robinhood] [http://theiamina.w8w.pl/content/pre-teen.html pre teen nudist beach] [http://wwwisevil.profil.bz/lib/las-vegas/ las vegas wrongful death lawyer] [http://gogenator.friko.pl/library/casio-watch/ casio watch] [http://antisilence.profil.gs/topic/composting/ composting] [http://antisilence.profil.gs/topic/hun/ hun] [http://gogenator.friko.pl/library/jamie-lynn/ jamie lynn spears nude] [http://amoresperros812.profil.in/text/pico-green/ pico green] [http://cah9i.friko.pl/new/nick-j/ nick j] [http://nutribun.profil.in/resources/lasagna-recipes/ lasagna recipes] [http://baler.ugu.pl/new/fingering-lesbians/ fingering lesbians] [http://cahert.aboutus.vg/styles/orgasm-sleep/ orgasm sleep] [http://nutribun.profil.in/resources/wild-party/ wild party girls] [http://dannyboy2007.profil.cc/directory/kohls.html kohls] [http://baler.ugu.pl/new/hack-runescape/ hack runescape character] [http://baler.ugu.pl/new/catfights/ catfights] [http://theunknowntao.profil.bz/styles/best-home.html best home security companies] [http://gogenator.friko.pl/library/hot-girls/ hot girls ass] [http://baler.ugu.pl/new/crock-pot/ crock pot recipes] [http://cah9i.friko.pl/new/hp-ipaq/ hp ipaq] [http://klgrem.aboutus.vg/library/montana-hunting.html montana hunting outfitters] [http://nehpetsca.profil.cn/new/cartoon-donkey/ cartoon donkey] [http://eldritchrainbow.hotmail.ru/library/girls-kissing.html girls kissing teenage] [http://credit-report-repair.com/yg/CSS/data/cache/cjvarw.html time share tour san diego] [http://mesotheliomalaywer.com/yg/CSS/data/touch/ffxpge.html blonde pubic hair] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/hnpcws.html accident lawyer colorado] [http://freeseotips.com/wp-content/themes/classic/cache/rmbuju.html tunisie voyages] [http://freeseotips.com/wp-content/themes/classic/cache/wfxudd.html physical exam stories] [http://mesotheliomalaywer.com/yg/CSS/data/touch/spipvh.html final fantasy and hentai] [http://mesotheliomalaywer.com/yg/CSS/data/touch/mgfnlq.html shareza] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/emrkcb.html big tit movies] [http://mesotheliomalaywer.com/yg/CSS/data/touch/vfgeio.html dmv virginia] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/rdgdvm.html black chick] [http://mesotheliomalaywer.com/yg/CSS/data/touch/ohhbbp.html fresh teen] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/lvbmvk.html social security number validation] [http://credit-report-repair.com/yg/CSS/data/cache/mwlvih.html asian sucking] [http://mesotheliomalaywer.com/yg/CSS/data/touch/neixao.html tranny porn] [http://mesotheliomalaywer.com/yg/CSS/data/touch/mitbpp.html anal babe] [http://instantinfocenter.com/CP/images/pic/dnqwir.html pantyhose preteens] [http://freeseotips.com/wp-content/themes/classic/cache/kxnokk.html yamaha jet skis] [http://mesotheliomalaywer.com/yg/CSS/data/touch/rijipa.html girl masterbation] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/wdxlnt.html truck drivers] [http://credit-report-repair.com/yg/CSS/data/cache/kmdqbk.html wimbledon] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/bakhwb.html conflict management] [http://mesotheliomalaywer.com/yg/CSS/data/touch/bqieuu.html topographic maps] [http://mesotheliomalaywer.com/yg/CSS/data/touch/mqmmma.html volcano girls] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/nfdmjb.html zoey101] [http://freeseotips.com/wp-content/themes/classic/cache/gjscxr.html girl teen websites] [http://freeseotips.com/wp-content/themes/classic/cache/jlgivd.html jenny morris music] [http://credit-report-repair.com/yg/CSS/data/cache/eaiijo.html snow screen saver] [http://credit-report-repair.com/yg/CSS/data/cache/ilcvvd.html play times production] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/lnixja.html cartoon futurama] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/bmpirx.html tight black ass] [http://instantinfocenter.com/CP/images/pic/wsjcpf.html dune buggy frames] [http://mesotheliomalaywer.com/yg/CSS/data/touch/ppwigr.html watt casey] [http://credit-report-repair.com/yg/CSS/data/cache/sgjeba.html booba] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/pgfewd.html invitation to bid form] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/mkcxlv.html against me] [http://credit-report-repair.com/yg/CSS/data/cache/batqhw.html meade] [http://freeseotips.com/wp-content/themes/classic/cache/tdqbjw.html che] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/qwhrmc.html nail product professional] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/lriues.html discount bridesmaid dresses] [http://instantinfocenter.com/CP/images/pic/xccgho.html vinpocetine] [http://credit-report-repair.com/yg/CSS/data/cache/codrfh.html cheating boyfriend] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/cpamvu.html wheel weight chart] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/kvojrq.html an apple a day keeps the doctor] [http://mesotheliomalaywer.com/yg/CSS/data/touch/blfave.html ladies shoes] [http://mesotheliomalaywer.com/yg/CSS/data/touch/mxodkq.html watching wife fuck] [http://freeseotips.com/wp-content/themes/classic/cache/pmcgqs.html lesbians cum] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/mppvsk.html iowa city entertainment] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/oghexw.html peoms] [http://instantinfocenter.com/CP/images/pic/itiqrw.html online sex videos] [http://credit-report-repair.com/yg/CSS/data/cache/japmgj.html pipe cleaning] [http://mesotheliomalaywer.com/yg/CSS/data/touch/wdvwvt.html tony yayo so seductive] [http://mesotheliomalaywer.com/yg/CSS/data/touch/fqlahu.html flag patches] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/tuggmn.html impeach bush] [http://mesotheliomalaywer.com/yg/CSS/data/touch/kquhdx.html batman forever] [http://credit-report-repair.com/yg/CSS/data/cache/cngvfm.html grosgrain ribbon] [http://instantinfocenter.com/CP/images/pic/soxlnf.html oregon labor law posters] [http://mesotheliomalaywer.com/yg/CSS/data/touch/jpxlbo.html now much money for webmasters] [http://instantinfocenter.com/CP/images/pic/hwxswk.html chilli] [http://mesotheliomalaywer.com/yg/CSS/data/touch/rwtecj.html rick warren] [http://freeseotips.com/wp-content/themes/classic/cache/vqehkb.html sign banners] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/lgppks.html very young girls masturbating] [http://instantinfocenter.com/CP/images/pic/mwlfow.html male fitness models] [http://freeseotips.com/wp-content/themes/classic/cache/fslnln.html preteen nude lolita] [http://mesotheliomalaywer.com/yg/CSS/data/touch/nwctdu.html englewood colorado real estate] [http://freeseotips.com/wp-content/themes/classic/cache/sdtunm.html mens knee high boots] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/woxvwf.html wanking girls] [http://freeseotips.com/wp-content/themes/classic/cache/hloejd.html pregnant anal] [http://mesotheliomalaywer.com/yg/CSS/data/touch/flhmiq.html tv soap babes] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/ionhdx.html juno email] [http://mesotheliomalaywer.com/yg/CSS/data/touch/ejcvcj.html indian breast] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/bgliie.html cat penis] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/lcswlt.html automobile california case law] [http://freeseotips.com/wp-content/themes/classic/cache/hwkxuc.html lips reading program] [http://mesotheliomalaywer.com/yg/CSS/data/touch/kjfchr.html motorway driving lessons] [http://freeseotips.com/wp-content/themes/classic/cache/subwll.html zeno] [http://mesotheliomalaywer.com/yg/CSS/data/touch/vginic.html lia 19] [http://freeseotips.com/wp-content/themes/classic/cache/tkdisi.html teen in panties] [http://mesotheliomalaywer.com/yg/CSS/data/touch/albvie.html older naked women] [http://instantinfocenter.com/CP/images/pic/rgaueq.html catamarans] [http://instantinfocenter.com/CP/images/pic/hwxlbm.html megan mullally] [http://credit-report-repair.com/yg/CSS/data/cache/mitfuh.html free penis] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/wefwia.html lauryn hill] [http://instantinfocenter.com/CP/images/pic/opbvsq.html las vegas nv homes] [http://freeseotips.com/wp-content/themes/classic/cache/jovrbg.html amerie gallery] [http://instantinfocenter.com/CP/images/pic/ofepxo.html first date] [http://freeseotips.com/wp-content/themes/classic/cache/rcaucr.html fucking in the woods] [http://instantinfocenter.com/CP/images/pic/sxfixb.html wet to straight hair] [http://instantinfocenter.com/CP/images/pic/jxjaqf.html van der sloot] [http://freeseotips.com/wp-content/themes/classic/cache/ehgvro.html family fucking incest family fucking] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/gnmsmj.html wet girls] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/davxmg.html lupine] [http://freeseotips.com/wp-content/themes/classic/cache/bionxw.html female glamour models] [http://mesotheliomalaywer.com/yg/CSS/data/touch/cwlehh.html incest stories xxx] [http://instantinfocenter.com/CP/images/pic/trqmvr.html lets get it started black eyed peas] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/fakitk.html map of paris] [http://mesotheliomalaywer.com/yg/CSS/data/touch/eerhdf.html motorcycle stands] [http://instantinfocenter.com/CP/images/pic/hpgcdo.html independence airlines] [http://earlysignofpregnancy.net/pregnancycalendar/wp-content/themes/default/cache/arjoba.html bi girls kissing] [http://credit-report-repair.com/yg/CSS/data/cache/adejks.html pc game controllers] [http://freeseotips.com/wp-content/themes/classic/cache/bhoumg.html innovation] == 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 18:44, 15 November 2007

bandanas metering jimmy hoffa namco american greeting free ecard trampoline sales usb cd burner linux amsterdam sin city dolly parton mp3 ass latinas phat el paso tx police department bigcocksex cheap package perkins mortal third eric carle wains world 2 guerra wholesale fashion accessories catalyst cup army correspondence course answers 350ml teasing and denial aol im hotties early symptoms of hiv young snatch charlton heston protected area women butts b2k bump bump bump home equity line of credit rockos modern life ten years after evil angel fire proof safe assgm cheerleader lesbians obese giving good head underage girls having sex outlaws schusters head shop arbour court seattle pinay big lusty mexican girls internet options history weak bladder fully fashioned stockings little tits mature blow job business coaching nude paradise hotel journal public records celeb paparazzi cartoon sex anime xbox360 mowers horny jocks insurance lead life senior norton antivirus wcw sting prevention program evaluation whale vermont real estate st christopher medals meta tag editor clay walker drunk driving facts shower favors minute maid park makers of diamond jewellery health care baywatch hawaii theme from robinhood pre teen nudist beach las vegas wrongful death lawyer casio watch composting hun jamie lynn spears nude pico green nick j lasagna recipes fingering lesbians orgasm sleep wild party girls kohls hack runescape character catfights best home security companies hot girls ass crock pot recipes hp ipaq montana hunting outfitters cartoon donkey girls kissing teenage time share tour san diego blonde pubic hair accident lawyer colorado tunisie voyages physical exam stories final fantasy and hentai shareza big tit movies dmv virginia black chick fresh teen social security number validation asian sucking tranny porn anal babe pantyhose preteens yamaha jet skis girl masterbation truck drivers wimbledon conflict management topographic maps volcano girls zoey101 girl teen websites jenny morris music snow screen saver play times production cartoon futurama tight black ass dune buggy frames watt casey booba invitation to bid form against me meade che nail product professional discount bridesmaid dresses vinpocetine cheating boyfriend wheel weight chart an apple a day keeps the doctor ladies shoes watching wife fuck lesbians cum iowa city entertainment peoms online sex videos pipe cleaning tony yayo so seductive flag patches impeach bush batman forever grosgrain ribbon oregon labor law posters now much money for webmasters chilli rick warren sign banners very young girls masturbating male fitness models preteen nude lolita englewood colorado real estate mens knee high boots wanking girls pregnant anal tv soap babes juno email indian breast cat penis automobile california case law lips reading program motorway driving lessons zeno lia 19 teen in panties older naked women catamarans megan mullally free penis lauryn hill las vegas nv homes amerie gallery first date fucking in the woods wet to straight hair van der sloot family fucking incest family fucking wet girls lupine female glamour models incest stories xxx lets get it started black eyed peas map of paris motorcycle stands independence airlines bi girls kissing pc game controllers innovation == 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