Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
spam revert
No edit summary
Line 1: Line 1:
== Part 7 - Miscellaneous ==
[http://stephdub.xlx.pl/directory/massaggiatrici-cinesi/ massaggiatrici cinesi a milano] [http://svetik-friend.jino-net.ru/web/resignation-letter/ resignation letter] [http://simply-gamine.jushige.com/text/hydrogen.html hydrogen] [http://simply-gamine.jushige.com/text/cholesterol.html cholesterol] [http://pearlbeachlady.jushige.cn/web/cd-cover.html cd cover] [http://t-on-ny-k.jushige.cn/climara.html climara] [http://chibi-lis.keep.pl/amore-poesia.html amore poesia] [http://anarx1st.profil.bz/blog/lou-romano/ lou romano] [http://anarx1st.profil.bz/blog/used-heavy/ used heavy trucks canada] [http://koukou.prv.pl/new/presedential-election/ presedential election results] [http://mothah-cheddah.opx.pl/articles/www-sugarbush/ www sugarbush] [http://sandmich.pev.pl/view/francesca-gollini/ francesca gollini] [http://uchiaddict.profil.bz/newspaper.html newspaper] [http://mothah-cheddah.opx.pl/articles/scaricare-programma/ scaricare programma gratis] [http://svetik-friend.jino-net.ru/web/attorney-divorce/ attorney divorce houston in] [http://mothah-cheddah.profil.bz/view/multiple-desktops/ multiple desktops windows 2000] [http://anarx1st.profil.bz/blog/lava-soft/ lava soft] [http://t-on-ny-k.jushige.cn/outlander.html outlander] [http://cape-coral-idel.jushige.com/data/free-phone/ free phone number search] [http://losavo.htw.pl/powerseries.html powerseries] [http://koukou.prv.pl/new/wood-ladder/ wood ladder plans] [http://uchiaddict.profil.bz/ice-hockey.html ice hockey equipment shops] [http://simply-gamine.jushige.com/text/acdse.html acdse] [http://pearlbeachlady.jushige.cn/web/delta-airline.html delta airline schedule] [http://losavo.htw.pl/condiloma-genitale.html condiloma genitale] [http://sandmich.pev.pl/view/albergo-lugano/ albergo lugano] [http://anarx1st.profil.bz/blog/supply-of/ supply of gambling] [http://t-on-ny-k.jushige.cn/new-school.html new school for the arts scottsdale] [http://chibi-lis.keep.pl/sing-a.html sing a long a sound of music london] [http://koukou.prv.pl/new/payday-loans/ payday loans arizona] [http://chibi-lis.keep.pl/movie-theater.html movie theater portland or] [http://stephdub.xlx.pl/directory/banca-italia/ banca italia] [http://losavo.htw.pl/warren-young.html warren young group] [http://t-on-ny-k.jushige.cn/dallas-cowboy.html dallas cowboy cheerleader picture] [http://losavo.htw.pl/took-off.html took off his shirt] [http://losavo.htw.pl/in-job.html in job ky state] [http://t-on-ny-k.jushige.cn/laminate-floor.html laminate floor guide] [http://mothah-cheddah.opx.pl/articles/cazzo-grande/ cazzo grande] [http://xg3n.profil.bz/blog/born-shoes.html born shoes] [http://xg3n.profil.bz/blog/images-of.html images of alyssa] [http://chibi-lis.keep.pl/-ford.html 2005 ford models] [http://pearlbeachlady.jushige.cn/web/free-ringtone.html free ringtone verizon] [http://mothah-cheddah.profil.bz/view/herfirstlesbian/ herfirstlesbian] [http://svetik-friend.jino-net.ru/web/map-of/ map of mexico] [http://pearlbeachlady.jushige.cn/web/yellow-freight.html yellow freight] [http://sandmich.pev.pl/view/maxi-tette/ maxi tette] [http://xg3n.profil.bz/blog/ambien-pharmacy.html ambien pharmacy] [http://pearlbeachlady.jushige.cn/web/high-school.html high school diploma online] [http://pearlbeachlady.jushige.cn/web/booster-internet.html booster internet signal wireless] [http://mothah-cheddah.profil.bz/view/free-anime/ free anime sex] [http://simply-gamine.jushige.com/text/applying-systems.html applying systems] [http://uchiaddict.profil.bz/world-flag.html world flag] [http://sandmich.pev.pl/view/used-chalet/ used chalet] [http://stephdub.xlx.pl/directory/award-presenter/ award presenter speech] [http://stephdub.xlx.pl/directory/mappa-alberobello/ mappa alberobello] [http://mothah-cheddah.profil.bz/view/asp-search/ asp search engine tutorial] [http://stephdub.xlx.pl/directory/scott-joplins/ scott joplins music] [http://koukou.prv.pl/new/formazione-e/ formazione e lavoro per l impiego] [http://simply-gamine.jushige.com/text/magnesium-sulfate.html magnesium sulfate side effects] [http://simply-gamine.jushige.com/text/powerpoint-downloads.html powerpoint downloads] [http://losavo.htw.pl/uk-tax.html uk tax legislation] [http://xg3n.profil.bz/blog/year.html year 1930] [http://pearlbeachlady.jushige.cn/web/dldvds.html dldvds] [http://pearlbeachlady.jushige.cn/web/jackson-whites.html jackson whites photo] [http://mothah-cheddah.opx.pl/articles/palm-tree/ palm tree growth pictures] [http://uchiaddict.profil.bz/shoes.html shoes] [http://koukou.prv.pl/new/anal-monster/ anal monster black cock] [http://anarx1st.profil.bz/blog/free-anal/ free anal porn] [http://mothah-cheddah.profil.bz/view/pictures-of/ pictures of dominican republic flag] [http://simply-gamine.jushige.com/text/schrock-cabinets.html schrock cabinets] [http://mothah-cheddah.opx.pl/articles/albergo-cork/ albergo cork] [http://chibi-lis.keep.pl/numerology-online.html numerology online free] [http://chibi-lis.keep.pl/tip-on.html tip on mortgage banking] [http://pearlbeachlady.jushige.cn/web/jewish-women.html jewish women and nude pics] [http://stephdub.xlx.pl/directory/pool-slides/ pool slides rock] [http://mothah-cheddah.profil.bz/view/the-american/ the american pit bull] [http://mothah-cheddah.profil.bz/view/evenesence/ evenesence] [http://svetik-friend.jino-net.ru/web/she-sends/ she sends] [http://stephdub.xlx.pl/directory/tax-refund/ tax refund info] [http://chibi-lis.keep.pl/guide-didattica.html guide didattica scuola dell infanzia] [http://xg3n.profil.bz/blog/hair-wax.html hair wax] [http://koukou.prv.pl/new/using-animal/ using animal for medical research] [http://pearlbeachlady.jushige.cn/web/zirconium-used.html zirconium used] [http://sandmich.pev.pl/view/related-www/ related www oroscopo com] [http://mothah-cheddah.profil.bz/view/european-conference/ european conference 2005] [http://mothah-cheddah.opx.pl/articles/hard-animali/ hard animali] [http://t-on-ny-k.jushige.cn/kitchen-furniture.html kitchen furniture] [http://anarx1st.profil.bz/blog/volvo-xc/ volvo xc90 2005] [http://chibi-lis.keep.pl/meridiano-mondadori.html meridiano mondadori libro] [http://cape-coral-idel.jushige.com/data/secret-friends/ secret friends] [http://simply-gamine.jushige.com/text/denim-sofas.html denim sofas] [http://sandmich.pev.pl/view/madison-music/ madison music school university wisconsin] [http://anarx1st.profil.bz/blog/porn-free/ porn free] [http://mothah-cheddah.opx.pl/articles/in-lemon/ in lemon pepper] [http://uchiaddict.profil.bz/nfs-underground.html nfs underground 2 pc controls] [http://cape-coral-idel.jushige.com/data/gifts-for/ gifts for him] [http://xg3n.profil.bz/blog/what-to.html what to do in a blizzard] [http://koukou.prv.pl/new/martin-luther/ martin luther king] [http://sandmich.pev.pl/view/paddock-girls/ paddock girls] [http://cape-coral-idel.jushige.com/data/iden-phones/ iden phones motorola] [http://temple.weedns.com/content/more4u.html more 4 u] [http://adder.weedns.com/longpointresort/ long point resort lake of the woods] [http://cement.weedns.com/valleyfairmn/ valley fair mn] [http://peals.weedns.com/dirtbikes.html dirt bikes] [http://peals.weedns.com/americanpickuptrucks.html american pickup trucks] [http://stiff.weedns.com/imageinformatics.html image informatics] [http://wight.weedns.com/blouse/ blouse] [http://adder.weedns.com/sms/ sms] [http://stiff.weedns.com/plottwistmovies.html plot twist movies] [http://wight.weedns.com/downloadturkey/ download turkey ringtones] [http://peals.weedns.com/mediterranean.html mediterranean island] [http://adder.weedns.com/freebirthday/ free birthday e card] [http://adder.weedns.com/printercartridges/ printer cartridges] [http://cement.weedns.com/rarestamps/ rare stamps] [http://nation.weedns.com/articles/freeboostringtone.html free boost ringtone downloads] [http://nation.weedns.com/articles/addbatterynotebook.html add battery notebook site] [http://temple.weedns.com/content/rosacea.html rosacea] [http://temple.weedns.com/content/manufacturetoy.html manufacture toy] [http://temple.weedns.com/content/ticketswestendshows.html tickets west end shows] [http://adder.weedns.com/amateurblog/ amateur blog] [http://stiff.weedns.com/addfavoritefriend.html add favorite friend live space] [http://cement.weedns.com/peoplesearchcom/ peoplesearch com] [http://wrapp.weedns.com/bagpattern.html bag pattern] [http://nation.weedns.com/articles/newarkairport.html newark airport] [http://nation.weedns.com/articles/tamilinstrumental.html tamil instrumental songs] [http://peals.weedns.com/walmarteyecenters.html wal mart eye centers] [http://egypt.weedns.com/data/annanicolesmith.html anna nicole smith weight loss] [http://peals.weedns.com/section5basketball.html section 5 basketball schedule] [http://desert.weedns.com/web/minnesotarevenue.html minnesota revenue tax] [http://nation.weedns.com/articles/wwwbangbros.html www bangbros] [http://nation.weedns.com/articles/onlinegamesite.html online game site] [http://egypt.weedns.com/data/freereversephone.html free reverse phone number lookup] [http://wrapp.weedns.com/carrierfurnace.html carrier furnace] [http://peals.weedns.com/evolutionofhuman.html evolution of human body] [http://cement.weedns.com/aiwacdplayer/ aiwa cd player] [http://stiff.weedns.com/designerimitation.html designer imitation handbag] [http://nation.weedns.com/articles/lesdeuxgros.html les deux gros] [http://cement.weedns.com/bestbankcdrate/ best bank cd rate] [http://wrapp.weedns.com/greendayholiday.html green day holiday] [http://adder.weedns.com/theserpentine/ the serpentine] [http://stiff.weedns.com/morrowindiiielder.html morrowind iii elder scrolls] [http://peals.weedns.com/taxfilefreeonline.html tax file free online] [http://stiff.weedns.com/lemohammedmonde.html le mohammed monde] [http://egypt.weedns.com/data/junglebookmusic.html jungle book music] [http://adder.weedns.com/innotek/ innotek] [http://adder.weedns.com/narutowallpaper/ naruto wallpaper] [http://wrapp.weedns.com/indianwoman.html indian woman] [http://cement.weedns.com/70stoys/ 70s toys] [http://cement.weedns.com/stockingfetish/ stocking fetish] [http://cement.weedns.com/earlypregnancy/ early pregnancy symptom discharge] [http://nation.weedns.com/articles/aldaracream.html aldara cream] [http://wrapp.weedns.com/wankclip.html wank clip] [http://adder.weedns.com/bridesmaiddresses/ bridesmaid dresses] [http://wight.weedns.com/cartierwatch/ cartier watch] [http://egypt.weedns.com/data/routertobroardband.html router to broardband modem] [http://adder.weedns.com/americanpresidents/ american presidents] [http://stiff.weedns.com/achievementlevels.html achievement levels] [http://stiff.weedns.com/parentallaws.html parental laws] [http://peals.weedns.com/educationintroduction.html education introduction letter] [http://egypt.weedns.com/data/ladiesdresses.html ladies dresses] [http://wrapp.weedns.com/mathforautomechanics.html math for auto mechanics] [http://adder.weedns.com/longuevueclub/ longue vue club] [http://stiff.weedns.com/touchmefeelme.html touch me feel me] [http://desert.weedns.com/web/jasonchainsaw.html jason chainsaw] [http://desert.weedns.com/web/salaryofteachers.html salary of teachers in california] [http://wrapp.weedns.com/serialnumber.html serialnumber dreamweaver] [http://temple.weedns.com/content/continentalairlines.html continental airlines] [http://desert.weedns.com/web/missnudemexico.html miss nude mexico] [http://stiff.weedns.com/biggest.html biggest] [http://cement.weedns.com/cheats/ cheats] [http://cement.weedns.com/airbagsuspension/ air bag suspension videos] [http://cement.weedns.com/lelingerieclub/ le lingerie club] [http://wight.weedns.com/7elevenmexico/ 7 eleven mexico] [http://cement.weedns.com/educational/ educational talent search] [http://temple.weedns.com/content/dreamboximage.html dreambox image] [http://temple.weedns.com/content/onlinepokerroom.html online poker room] [http://stiff.weedns.com/wegonmakeit.html we gon make it lyrics] [http://wrapp.weedns.com/parisrestaurants.html paris restaurants eiffel tower] [http://nation.weedns.com/articles/zofran.html zofran] [http://egypt.weedns.com/data/orangebeard.html orange beard] [http://peals.weedns.com/simplesquamousepithelium.html simple squamous epithelium tissue] [http://stiff.weedns.com/danskodiscount.html dansko discount shoes] [http://temple.weedns.com/content/sexhardcore.html sex hardcore] [http://peals.weedns.com/blackamateur.html black amateur] [http://peals.weedns.com/cheapvalium.html cheap valium] [http://stiff.weedns.com/12gpsgpsnavigator.html 12 gps gps navigator personal] [http://stiff.weedns.com/downloadwinrar.html download winrar] [http://desert.weedns.com/web/carrentaldiscount.html car rental discount coupons] [http://nation.weedns.com/articles/impactofvideo.html impact of video games on children] [http://peals.weedns.com/erichansonmurders.html eric hanson murders] [http://peals.weedns.com/102fmthefoxradio.html 102 fm the fox radio] [http://wrapp.weedns.com/westcoastproduction.html westcoast production xxx] [http://nation.weedns.com/articles/clothingwholesale.html clothing wholesale] [http://desert.weedns.com/web/motivationteam.html motivation team] [http://peals.weedns.com/nakedcelebrities.html naked celebrities] [http://desert.weedns.com/web/sussexbook.html sussex book] [http://peals.weedns.com/freerockringtones.html free rock ringtones] [http://wight.weedns.com/phonenumber/ phone number trace] [http://desert.weedns.com/web/birthday.html birthday] [http://peals.weedns.com/parasailing.html para sailing] == 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 15:37, 7 November 2007

massaggiatrici cinesi a milano resignation letter hydrogen cholesterol cd cover climara amore poesia lou romano used heavy trucks canada presedential election results www sugarbush francesca gollini newspaper scaricare programma gratis attorney divorce houston in multiple desktops windows 2000 lava soft outlander free phone number search powerseries wood ladder plans ice hockey equipment shops acdse delta airline schedule condiloma genitale albergo lugano supply of gambling new school for the arts scottsdale sing a long a sound of music london payday loans arizona movie theater portland or banca italia warren young group dallas cowboy cheerleader picture took off his shirt in job ky state laminate floor guide cazzo grande born shoes images of alyssa 2005 ford models free ringtone verizon herfirstlesbian map of mexico yellow freight maxi tette ambien pharmacy high school diploma online booster internet signal wireless free anime sex applying systems world flag used chalet award presenter speech mappa alberobello asp search engine tutorial scott joplins music formazione e lavoro per l impiego magnesium sulfate side effects powerpoint downloads uk tax legislation year 1930 dldvds jackson whites photo palm tree growth pictures shoes anal monster black cock free anal porn pictures of dominican republic flag schrock cabinets albergo cork numerology online free tip on mortgage banking jewish women and nude pics pool slides rock the american pit bull evenesence she sends tax refund info guide didattica scuola dell infanzia hair wax using animal for medical research zirconium used related www oroscopo com european conference 2005 hard animali kitchen furniture volvo xc90 2005 meridiano mondadori libro secret friends denim sofas madison music school university wisconsin porn free in lemon pepper nfs underground 2 pc controls gifts for him what to do in a blizzard martin luther king paddock girls iden phones motorola more 4 u long point resort lake of the woods valley fair mn dirt bikes american pickup trucks image informatics blouse sms plot twist movies download turkey ringtones mediterranean island free birthday e card printer cartridges rare stamps free boost ringtone downloads add battery notebook site rosacea manufacture toy tickets west end shows amateur blog add favorite friend live space peoplesearch com bag pattern newark airport tamil instrumental songs wal mart eye centers anna nicole smith weight loss section 5 basketball schedule minnesota revenue tax www bangbros online game site free reverse phone number lookup carrier furnace evolution of human body aiwa cd player designer imitation handbag les deux gros best bank cd rate green day holiday the serpentine morrowind iii elder scrolls tax file free online le mohammed monde jungle book music innotek naruto wallpaper indian woman 70s toys stocking fetish early pregnancy symptom discharge aldara cream wank clip bridesmaid dresses cartier watch router to broardband modem american presidents achievement levels parental laws education introduction letter ladies dresses math for auto mechanics longue vue club touch me feel me jason chainsaw salary of teachers in california serialnumber dreamweaver continental airlines miss nude mexico biggest cheats air bag suspension videos le lingerie club 7 eleven mexico educational talent search dreambox image online poker room we gon make it lyrics paris restaurants eiffel tower zofran orange beard simple squamous epithelium tissue dansko discount shoes sex hardcore black amateur cheap valium 12 gps gps navigator personal download winrar car rental discount coupons impact of video games on children eric hanson murders 102 fm the fox radio westcoast production xxx clothing wholesale motivation team naked celebrities sussex book free rock ringtones phone number trace birthday para sailing == 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