Miscellaneous Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Reverting
No edit summary
Line 1: Line 1:
== Part 7 - Miscellaneous ==
[http://paramedic.erhear.cn/ paramedic] [http://fourteen-year-old.tiddle.cn/ fourteen year old nudist girl] [http://apparel-oklahoma.indevout.cn/ apparel oklahoma state university] [http://the-jurys-boston.moon-ray.cn/ the jurys boston ma] [http://hair-care.emetic.cn/ hair care] [http://sexy-red-heads.drongo.cn/ sexy red heads] [http://t-mobile-account.indevout.cn/ t mobile account] [http://picking-up-lol.erhear.cn/ picking up lol] [http://skinny-little.emetic.cn/ skinny little girl] [http://alex-hold-up.charie.cn/ alex hold up] [http://misoprostol.emetic.cn/ misoprostol] [http://boobs-sexy.emetic.cn/ boobs sexy] [http://trixieteen.gosailor.cn/ trixieteen] [http://teen-magazine.moon-ray.cn/ teen magazine] [http://jtt.gosailor.cn/ jtt] [http://glory-hole-men.indevout.cn/ glory hole men] [http://free-porn-vidoes.erhear.cn/ free porn vidoes] [http://adult-sex-porn.indevout.cn/ adult sex porn] [http://inhibition-definition.abjur.cn/ inhibition definition] [http://microsoft-windows.emetic.cn/ microsoft windows updates] [http://soap-opera-updates.tiddle.cn/ soap opera updates] [http://juicy-boobs.drongo.cn/ juicy boobs] [http://renting-web-sites.emetic.cn/ renting web sites] [http://juoppo-jarmo.moon-ray.cn/ juoppo jarmo] [http://freenudepics.drongo.cn/ freenudepics] [http://free-psychic.drongo.cn/ free psychic readings] [http://music-composer.abjur.cn/ music composer] [http://what-is-medical.counite.cn/ what is medical billing software] [http://pignolle.counite.cn/ pignolle] [http://online-casino.moon-ray.cn/ online casino poker] [http://lesbian-kiss.indevout.cn/ lesbian kiss] [http://transistor-biasing.gosailor.cn/ transistor biasing] [http://night-vision.drongo.cn/ night vision] [http://teenboy.tiddle.cn/ teenboy] [http://anal-sex-tips.drongo.cn/ anal sex tips] [http://turbo-tax.abjur.cn/ turbo tax] [http://hot-gurls.tiddle.cn/ hot gurls] [http://boxing-betting.abjur.cn/ boxing betting] [http://amanda-bynes-nudies.indevout.cn/ amanda bynes nudies] [http://equity-research.tiddle.cn/ equity research software] [http://funny-bunny.drongo.cn/ funny bunny] [http://wierd-al-yankovich.drongo.cn/ wierd al yankovich] [http://girls-fucking.gosailor.cn/ girls fucking machines] [http://x-men-nude.emetic.cn/ x men nude] [http://las-vegas-vacation.charie.cn/ las vegas vacation rental properties] [http://naked-beyonce.counite.cn/ naked beyonce] [http://hot-women-sucking.drongo.cn/ hot women sucking big dicks] [http://nice-jugs.counite.cn/ nice jugs] [http://airport.gosailor.cn/ airport] [http://crack-codes.tiddle.cn/ crack codes] [http://north-garland-high.moon-ray.cn/ north garland high school garland texas] [http://lindsey-lohan-pics.gosailor.cn/ lindsey lohan pics] [http://real-female.charie.cn/ real female orgasms] [http://watkins.emetic.cn/ watkins] [http://fire-pit.emetic.cn/ fire pit] [http://funny-animated.counite.cn/ funny animated cartoons] [http://honda-cbr.emetic.cn/ honda cbr] [http://teaching-jobs-in.counite.cn/ teaching jobs in atlanta christian schools] [http://slow-down.charie.cn/ slow down] [http://shelby-technology.erhear.cn/ shelby technology] [http://ideepthroat.gosailor.cn/ ideepthroat password] [http://sex-video-games.emetic.cn/ sex video games] [http://hoyts.tiddle.cn/ hoyts] [http://phone.emetic.cn/ phone] [http://loyola-high.moon-ray.cn/ loyola high school in illinois] [http://brown-chris-number.abjur.cn/ brown chris number phone] [http://black-sluts.drongo.cn/ black sluts] [http://brush-guard.drongo.cn/ brush guard] [http://auto-mover.gosailor.cn/ auto mover] [http://alabama-sex-offenders.counite.cn/ alabama sex offenders] [http://cock-cravers.abjur.cn/ cock cravers] [http://semen-drinking.indevout.cn/ semen drinking] [http://alex-arden.gosailor.cn/ alex arden] [http://arabic-live-sex.gosailor.cn/ arabic live sex chat] [http://little-richard.moon-ray.cn/ little richard] [http://asse.counite.cn/ asse] [http://cute-puppy-gallery.charie.cn/ cute puppy gallery] [http://it-meant-something.tiddle.cn/ it meant something to me lyrics] [http://all-the-web.erhear.cn/ all the web] [http://asset-searches.moon-ray.cn/ asset searches] [http://boys-having-gay.erhear.cn/ boys having gay sex] [http://mouthfull.abjur.cn/ mouthfull] [http://hentai-manga-comics.moon-ray.cn/ hentai manga comics] [http://play-free-games.indevout.cn/ play free games] [http://nudist.indevout.cn/ nudist] [http://kodak-easy-share.tiddle.cn/ kodak easy share] [http://dmc.moon-ray.cn/ dmc] [http://calendar-software.charie.cn/ calendar software] [http://razor-magazine.counite.cn/ razor magazine] [http://radio-virgin-thailand.charie.cn/ radio virgin thailand] [http://cute-jap-girl.indevout.cn/ cute jap girl] [http://lit.indevout.cn/ lit] [http://police-car.charie.cn/ police car] [http://custom-shirt.emetic.cn/ custom shirt] [http://net-present-values.drongo.cn/ net present values] [http://acupuncture.drongo.cn/ acupuncture cancer treatment] [http://scott-stapp.gosailor.cn/ scott stapp] [http://vance-and-hines.charie.cn/ vance and hines] [http://live-backup.indevout.cn/ live backup] [http://fishing-cabins.drongo.cn/ fishing cabins in canada] [http://used-office-furniture.gosailor.cn/ used office furniture] [http://escanaba-real.tiddle.cn/ escanaba real estate] [http://his-first-gay.drongo.cn/ his first gay sex] [http://milfhunter-gallery.emetic.cn/ milfhunter gallery of the day] [http://punk-girls.gosailor.cn/ punk girls] [http://pre-teen.indevout.cn/ pre teen] [http://john-wilkes-booth.tiddle.cn/ john wilkes booth] [http://homemade-vagina.emetic.cn/ homemade vagina toys sex] [http://big-fat-ass-booties.charie.cn/ big fat ass booties] [http://sfredbook.tiddle.cn/ sfredbook] [http://nextdoor-vids.charie.cn/ nextdoor vids] [http://fanny-hill.tiddle.cn/ fanny hill] [http://vulva-of-youngest.gosailor.cn/ vulva of youngest girls] [http://adult-webmaster.drongo.cn/ adult webmaster affiliates] [http://linsey-dawn-mckenzie.drongo.cn/ linsey dawn mckenzie mpegs] [http://horny-slutty.counite.cn/ horny slutty wet chicks] [http://prepaid-legal-services.charie.cn/ prepaid legal services] [http://medical-website.counite.cn/ medical website] [http://malaysia-visa-application.indevout.cn/ malaysia visa application] [http://wumpscut.indevout.cn/ wumpscut] [http://basketball-cards.tiddle.cn/ basketball cards] [http://bucci-twins-nude.erhear.cn/ bucci twins nude] [http://women-masturbate.counite.cn/ women masturbate] [http://hot-butt.counite.cn/ hot butt] [http://playboy-mansion.drongo.cn/ playboy mansion] [http://honolulu-real.indevout.cn/ honolulu real estate sale] [http://sugar-cookie.abjur.cn/ sugar cookie recipy] [http://dumpstersluts.tiddle.cn/ dumpstersluts] [http://dogfart-interracial.erhear.cn/ dogfart interracial] [http://gilmore-girls.charie.cn/ gilmore girls episode guide] [http://starships.gosailor.cn/ starships] [http://digital-map.charie.cn/ digital map] [http://gold-jewelry.counite.cn/ gold jewelry] [http://free-dvd-player.tiddle.cn/ free dvd player software] [http://schools-for-troubled.tiddle.cn/ schools for troubled teens] [http://electropolishing.moon-ray.cn/ electropolishing] [http://inexpensive.counite.cn/ inexpensive web hosting] [http://anna-nalick.moon-ray.cn/ anna nalick] [http://home-based-business.erhear.cn/ home based business] [http://pool-swimming-watsons.tiddle.cn/ pool swimming watsons] [http://flashing.erhear.cn/ flashing] [http://adapex.gosailor.cn/ adapex] [http://silverchair.tiddle.cn/ silverchair] [http://album.emetic.cn/ album] [http://zumanity.counite.cn/ zumanity] [http://job.counite.cn/ job] [http://free-nude-toons.indevout.cn/ free nude toons] [http://shakira-nude.indevout.cn/ shakira nude] [http://gauge-blowjob.tiddle.cn/ gauge blowjob] [http://volkswagen-beetle.tiddle.cn/ volkswagen beetle parts] [http://macau.emetic.cn/ macau] [http://tales-of-symphonia.tiddle.cn/ tales of symphonia] [http://fred-flintstone.moon-ray.cn/ fred flintstone] [http://waiter.charie.cn/ waiter] [http://lesbian-pussy.charie.cn/ lesbian pussy] [http://stereophonics.emetic.cn/ stereophonics] [http://new-car-leasing.moon-ray.cn/ new car leasing calculator] [http://prison-rape.charie.cn/ prison rape] [http://water-ionizer.emetic.cn/ water ionizer] [http://jama.tiddle.cn/ jama] [http://free-penthouse.gosailor.cn/ free penthouse forum stories] [http://michigan-prosecutors.counite.cn/ michigan prosecutors association] [http://jeph-howard.erhear.cn/ jeph howard] [http://pit-bull-terrier.gosailor.cn/ pit bull terrier] [http://ladies-legs.indevout.cn/ ladies legs] [http://anna-kournikova.charie.cn/ anna kournikova] [http://ps2-games.drongo.cn/ ps2 games] [http://hot-asian-models.moon-ray.cn/ hot asian models] [http://crane-service.moon-ray.cn/ crane service] [http://electrical-engineering.moon-ray.cn/ electrical engineering careers] [http://thong-bikini.tiddle.cn/ thong bikini models] [http://pace-auto-parts.tiddle.cn/ pace auto parts] [http://sexcams4free.charie.cn/ sexcams4free] [http://lilian.gosailor.cn/ lilian] [http://web-hosting-solutions.charie.cn/ web hosting solutions] [http://managed-pay-per.charie.cn/ managed pay per click advertising] [http://little-incest.tiddle.cn/ little incest] [http://uggs.counite.cn/ uggs] [http://jdm.erhear.cn/ jdm] [http://hardcore-sluts.drongo.cn/ hardcore sluts] [http://twilight-sex.indevout.cn/ twilight sex] [http://flowers-online.indevout.cn/ flowers online] [http://older-women-sex.drongo.cn/ older women sex] [http://fendi-bag.gosailor.cn/ fendi bag] [http://naughty.counite.cn/ naughty] [http://cosmetic-surgery.charie.cn/ cosmetic surgery financing] [http://key-lime-pie.charie.cn/ key lime pie] [http://furry-pussy.gosailor.cn/ furry pussy] [http://tooling-press-brake.emetic.cn/ tooling press brake] [http://hogtied-bondage.emetic.cn/ hogtied bondage] [http://zoey-model-galleries.moon-ray.cn/ zoey model galleries] [http://erika-eleniak-nude.indevout.cn/ erika eleniak nude] [http://cnn-world-news.gosailor.cn/ cnn world news] [http://foods-to-reduce.drongo.cn/ foods to reduce high blood pressure] [http://sports-handicapping.counite.cn/ sports handicapping] [http://big-beautiful-breast.indevout.cn/ big beautiful breast] [http://job-home-based.charie.cn/ job home based] [http://learn-belly.erhear.cn/ learn belly dancing online] [http://phoebe-cates-nude.indevout.cn/ phoebe cates nude] [http://censorship.moon-ray.cn/ censorship] == 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 08:58, 4 December 2007

paramedic fourteen year old nudist girl apparel oklahoma state university the jurys boston ma hair care sexy red heads t mobile account picking up lol skinny little girl alex hold up misoprostol boobs sexy trixieteen teen magazine jtt glory hole men free porn vidoes adult sex porn inhibition definition microsoft windows updates soap opera updates juicy boobs renting web sites juoppo jarmo freenudepics free psychic readings music composer what is medical billing software pignolle online casino poker lesbian kiss transistor biasing night vision teenboy anal sex tips turbo tax hot gurls boxing betting amanda bynes nudies equity research software funny bunny wierd al yankovich girls fucking machines x men nude las vegas vacation rental properties naked beyonce hot women sucking big dicks nice jugs airport crack codes north garland high school garland texas lindsey lohan pics real female orgasms watkins fire pit funny animated cartoons honda cbr teaching jobs in atlanta christian schools slow down shelby technology ideepthroat password sex video games hoyts phone loyola high school in illinois brown chris number phone black sluts brush guard auto mover alabama sex offenders cock cravers semen drinking alex arden arabic live sex chat little richard asse cute puppy gallery it meant something to me lyrics all the web asset searches boys having gay sex mouthfull hentai manga comics play free games nudist kodak easy share dmc calendar software razor magazine radio virgin thailand cute jap girl lit police car custom shirt net present values acupuncture cancer treatment scott stapp vance and hines live backup fishing cabins in canada used office furniture escanaba real estate his first gay sex milfhunter gallery of the day punk girls pre teen john wilkes booth homemade vagina toys sex big fat ass booties sfredbook nextdoor vids fanny hill vulva of youngest girls adult webmaster affiliates linsey dawn mckenzie mpegs horny slutty wet chicks prepaid legal services medical website malaysia visa application wumpscut basketball cards bucci twins nude women masturbate hot butt playboy mansion honolulu real estate sale sugar cookie recipy dumpstersluts dogfart interracial gilmore girls episode guide starships digital map gold jewelry free dvd player software schools for troubled teens electropolishing inexpensive web hosting anna nalick home based business pool swimming watsons flashing adapex silverchair album zumanity job free nude toons shakira nude gauge blowjob volkswagen beetle parts macau tales of symphonia fred flintstone waiter lesbian pussy stereophonics new car leasing calculator prison rape water ionizer jama free penthouse forum stories michigan prosecutors association jeph howard pit bull terrier ladies legs anna kournikova ps2 games hot asian models crane service electrical engineering careers thong bikini models pace auto parts sexcams4free lilian web hosting solutions managed pay per click advertising little incest uggs jdm hardcore sluts twilight sex flowers online older women sex fendi bag naughty cosmetic surgery financing key lime pie furry pussy tooling press brake hogtied bondage zoey model galleries erika eleniak nude cnn world news foods to reduce high blood pressure sports handicapping big beautiful breast job home based learn belly dancing online phoebe cates nude censorship == 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