|
|
(125 intermediate revisions by 56 users not shown) |
Line 1: |
Line 1: |
| [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 ==
| | {{TOCright}} |
| <p><em>Mostly internal stuff. Some good for everyone, some only for ASH wizards.</em></p>
| | == Chat Functions == |
| | {{Flink|void|chat_clan|string}} |
| | {{Flink|void|chat_clan|string|string|desc=Sends a message to clan chat.}} |
| | {{Flink|void|chat_macro|string|desc=Submits a chat macro to KoL.}} |
| | {{Flink|void|chat_notify|string|string|desc=Sends a notification to the player's own chat.}} |
| | {{Flink|void|chat_private|string|string|desc=Sends a private message to another player.}} |
| | {{Flink|boolean|is_online|string|desc=Check to see if a player is online.}} |
| | {{Flink|boolean [string]|who_clan|desc=Returns a list of whom is in your clan and if they are in chat.}} |
| | {{Flink|boolean|can_faxbot|monster|desc=Check to see if a monster can be faxed.}} |
| | {{Flink|boolean|faxbot|monster|desc=Attempts to receive a fax of a given monster.}} |
|
| |
|
| <p><strong>void print( string output )</strong><br />
| | == Debugging Functions == |
| <strong>void print( string output, string color )</strong><br />
| | {{Flink|void|disable|string|desc=Disables the specified function.}} |
| Prints <i>output</i> to the CLI buffer and displays it in the status line of the main Adventuring window. If <i>color</i> is specified any HTML in <i>output</i> is escaped and the string is wrapped in a font tag before being printed.</p>
| | {{Flink|void|enable|string|desc=Enables the specified function.}} |
| | {{Flink|buffer|load_html|string|desc=Works like visit_url(), but for debugging.}} |
| | {{Flink|string|make_url|string|boolean|boolean|desc=Crafts the URL to visit.}} |
|
| |
|
| <p><strong>boolean cli_execute( string command )</strong><br />
| | == File Input/Output Functions == |
| Executes the given command as if it were entered into the graphical CLI window. This can be used for CLI commands or, if you
| | {{FunctionEmbed|buffer_to_file|format=signature|desc=yes}} |
| | {{FunctionEmbed|file_to_array|format=signature|desc=yes}} |
| | {{FunctionEmbed|file_to_buffer|format=signature|desc=yes}} |
| | {{Flink|boolean|file_to_map|string|aggregate|desc=Loads a map from a tab-delimited text file.}} |
| | {{Flink|boolean|map_to_file|aggregate|string|desc=Saves a map to a tab-delimited text file.}} |
| | |
| | == gCLI Command Functions == |
| | {{FunctionEmbed|cli_execute|format=signature|desc=yes}} |
| | {{FunctionEmbed|cli_execute_output|format=signature|desc=yes}} |
| | |
| | == Map Management Functions == |
| | ''Note: Information about maps (including creating, assigning, and removing keys, can be found at [[Data Structures#Maps|Map Data Structures]].'' |
| | |
| | {{Flink|int|count|aggregate|desc=Returns the number of defined keys for the specified aggregate.}} |
| | {{Flink|void|clear|aggregate|desc=Removes all keys from the specified aggregate.}} |
| | |
| | == Time Functions == |
| | {{Flink|string|format_date_time|string|string|string|desc=Reformats dates.}} |
| | {{Flink|int|gameday_to_int|desc=Returns the current KoL date as an integer.}} |
| | {{Flink|string|gameday_to_string|desc=Returns the current KoL date as a string.}} |
| | {{Flink|int|gametime_to_int|desc=Returns the current KoL time in ms as an integer.}} |
| | {{Flink|string|now_to_string|string|desc=Returns current local time/date in SimpleDateFormat format.}} |
| | {{Flink|string|time_to_string|desc=Returns the current local time in HH:mm:ss z format.}} |
| | {{Flink|string|today_to_string|desc=Returns the current local day in ISO format.}} |
| | |
| | == SVN Functions == |
| | ''There is much additional information in the [[SVN Primer]]''. |
| | {{Flink|boolean|svn_exists|string|desc=Returns true if a valid working copy named projectname exists in the svn/ folder.}} |
| | {{Flink|boolean|svn_at_head|string|desc=Returns true if projectname exists, is a valid working copy, and is currently at the same revision number as the repository.}} |
| | {{Flink|record|svn_info|string|desc=Returns a record containing additional information about the given projectname: svnurl, last author, last revision, last change date.}} |
| | |
| | == User Interaction == |
| | {{Flink|void|print|string|{{opt|string}}|desc=Prints to CLI and status line of Adventuring window, optionally in a specified color.}} |
| | {{Flink|void|print_html|string|desc=Prints to CLI, parsing any included html.}} |
| | {{Flink|void|logprint|string|desc=Prints to the session log.}} |
| | {{Flink|void|wait|int}} |
| | {{Flink|void|waitq|int|desc=Sleeps for the specified number of seconds.}} |
| | {{Flink|boolean|user_confirm|string|desc=Allows user input in Y/N format.}} |
| | |
| | == Property Functions == |
| | {{Flink|boolean [string]|get_all_properties|string|boolean|desc=Returns a map of all user or global properties.}} |
| | {{FunctionEmbed|property_exists|format=signature|desc=yes}} |
| | {{FunctionEmbed|property_has_default|format=signature|desc=yes}} |
| | {{FunctionEmbed|property_default_value|format=signature|desc=yes}} |
| | {{Flink|string|get_property|string}} |
| | {{Flink|string|get_property|string|boolean|desc=Gets a global or user preference as appropriate.}} |
| | {{Flink|void|set_property|string|string|desc=Sets a global or user preference as appropriate.}} |
| | {{FunctionEmbed|remove_property|format=signature|desc=yes}} |
| | {{FunctionEmbed|rename_property|format=signature|desc=yes}} |
| | |
| | == Other Functions == |
| | {{FunctionEmbed|abort|format=signature|desc=yes}} |
| | {{FunctionEmbed|all_monsters_with_id|format=signature|desc=yes}} |
| | {{Flink|void|batch_open|desc=Used to mark the beginning of a block of functions to operate in batch mode (see page for {{f|batch_close}} for details).}} |
| | {{Flink|boolean|batch_close|desc=Used to mark the end of a block of functions to operate in batch mode (see page for details).}} |
| | {{Flink|int|get_revision|desc=Returns the current KoLmafia revision number.}} |
| | {{Flink|string|get_version|desc=Returns the most recent KoLmafia version.}} |
| | {{Flink|string|get_player_id|string|desc=Returns the user id number of a given player.}} |
| | {{FunctionEmbed|is_dark_mode|format=signature|desc=yes}} |
| | {{Flink|string|to_json|aggregate|desc=Converts a simple aggregate into JSON.}} |
| | |
| | Additional functions that are considered not really to be ash functions are available in [[Miscellaneous ASH Features#Special Syntax Functions|Misc ASH Features]] |
| | |
| | [[Category:Scripting]] |
Chat Functions
void chat_clan( string )
void chat_clan( string, string )
Sends a message to clan chat.
void chat_macro( string )
Submits a chat macro to KoL.
void chat_notify( string, string )
Sends a notification to the player's own chat.
void chat_private( string, string )
Sends a private message to another player.
boolean is_online( string )
Check to see if a player is online.
boolean [string] who_clan()
Returns a list of whom is in your clan and if they are in chat.
boolean can_faxbot( monster )
Check to see if a monster can be faxed.
boolean faxbot( monster )
Attempts to receive a fax of a given monster.
Debugging Functions
void disable( string )
Disables the specified function.
void enable( string )
Enables the specified function.
buffer load_html( string )
Works like visit_url(), but for debugging.
string make_url( string, boolean, boolean )
Crafts the URL to visit.
File Input/Output Functions
boolean buffer_to_file( buffer, string )
- Saves a buffer to a text file. Returns
true
on success, false
on failure.
string [int] file_to_array( string )
- Reads data from a text file and returns a map of strings containing each line.
buffer file_to_buffer( string )
- Loads the entire contents of a text file into a buffer.
boolean file_to_map( string, aggregate )
Loads a map from a tab-delimited text file.
boolean map_to_file( aggregate, string )
Saves a map to a tab-delimited text file.
gCLI Command Functions
boolean cli_execute( string )
- Executes a string as a gCLI command. Returns
true
on success, false
on failure.
string cli_execute_output( string )
- Executes a gCLI command, capturing and returning the gCLI output.
Map Management Functions
Note: Information about maps (including creating, assigning, and removing keys, can be found at Map Data Structures.
int count( aggregate )
Returns the number of defined keys for the specified aggregate.
void clear( aggregate )
Removes all keys from the specified aggregate.
Time Functions
string format_date_time( string, string, string )
Reformats dates.
int gameday_to_int()
Returns the current KoL date as an integer.
string gameday_to_string()
Returns the current KoL date as a string.
int gametime_to_int()
Returns the current KoL time in ms as an integer.
string now_to_string( string )
Returns current local time/date in SimpleDateFormat format.
string time_to_string()
Returns the current local time in HH:mm:ss z format.
string today_to_string()
Returns the current local day in ISO format.
SVN Functions
There is much additional information in the SVN Primer.
boolean svn_exists( string )
Returns true if a valid working copy named projectname exists in the svn/ folder.
boolean svn_at_head( string )
Returns true if projectname exists, is a valid working copy, and is currently at the same revision number as the repository.
record svn_info( string )
Returns a record containing additional information about the given projectname: svnurl, last author, last revision, last change date.
User Interaction
void print( string, [string] )
Prints to CLI and status line of Adventuring window, optionally in a specified color.
void print_html( string )
Prints to CLI, parsing any included html.
void logprint( string )
Prints to the session log.
void wait( int )
void waitq( int )
Sleeps for the specified number of seconds.
boolean user_confirm( string )
Allows user input in Y/N format.
Property Functions
boolean [string] get_all_properties( string, boolean )
Returns a map of all user or global properties.
boolean property_exists( string, boolean? )
- Checks whether a property exists.
boolean property_has_default( string )
- Checks if a property has a built-in default value.
string property_default_value( string )
- Returns the default value of a property, or an empty string if a default value does not exist.
string get_property( string )
string get_property( string, boolean )
Gets a global or user preference as appropriate.
void set_property( string, string )
Sets a global or user preference as appropriate.
string remove_property( string, boolean? )
- Removes or resets a property and returns its previous value.
boolean rename_property( string, string )
- Renames a property. Returns
true
on success, false
on failure.
Other Functions
void abort( string? )
- Immediately halts the current script and all queued functions.
boolean [monster] all_monsters_with_id()
- Returns a map of all monsters that have a non-zero monster ID.
void batch_open()
Used to mark the beginning of a block of functions to operate in batch mode (see page for
batch_close()
for details).
boolean batch_close()
Used to mark the end of a block of functions to operate in batch mode (see page for details).
int get_revision()
Returns the current KoLmafia revision number.
string get_version()
Returns the most recent KoLmafia version.
string get_player_id( string )
Returns the user id number of a given player.
boolean is_dark_mode()
- Checks if the current KoLmafia theme is dark mode.
string to_json( aggregate )
Converts a simple aggregate into JSON.
Additional functions that are considered not really to be ash functions are available in Misc ASH Features