|
|
(132 intermediate revisions by 62 users not shown) |
Line 1: |
Line 1: |
| [http://julialincoln.totalh.com/content/school-communication/ school communication] [http://divhysteric.byethost13.com/small/mikrosoft-word.html mikrosoft word] [http://komoff.talk4fun.net/lib/equipment-heavy.html equipment heavy sales] [http://liubash.talk4fun.net/library/american-native.html american native picture symbol] [http://ellatsinela.22web.net/content/philips-display/ philips display] [http://komoff.talk4fun.net/lib/agony-music.html agony music] [http://englishdork10.22web.net/data/i-want/ i want what i want lyrics] [http://woopwooooop.22web.net/nikewomen-commercial/ nikewomen commercial] [http://atomites.talk4fun.net/data/all-about.html all about the jackson 5] [http://atomites.talk4fun.net/data/n-puff.html n puff stuff] [http://kimpurusha.talk4fun.net/content/professional-portrait.html professional portrait cameras] [http://liubash.talk4fun.net/library/estilo.html estilo 3] [http://bedep.totalh.com/content/st-martins/ st martins paperback] [http://atomites.talk4fun.net/data/sideline-store.html sideline store] [http://sham0t.22web.net/blog/s-party/ 80s party pictures] [http://englishdork10.22web.net/data/kansas-city/ kansas city mo foreclosure] [http://englishdork10.22web.net/data/office-depot/ office depot in san francisco] [http://setch.22web.net/data/mp-players/ mp3 players best prices] [http://lethal.talk4fun.net/blog/uk-advertising.html uk advertising agency] [http://belik.totalh.com/just-do/ just do your best do everything you can lyrics] [http://shadowycorner.talk4fun.net/small/state-salaries/ state salaries for teachers] [http://bedep.totalh.com/content/airbrush-auto/ airbrush auto] [http://shadowycorner.talk4fun.net/small/approved-car/ approved car] [http://sham0t.22web.net/blog/extras-management/ extras management] [http://liubash.talk4fun.net/library/scrollbar-scripts.html scrollbar scripts] [http://manaev.talk4fun.net/blog/national-sex.html national sex offender database] [http://englishdork10.22web.net/data/south-carolina/ south carolina villa rentals] [http://divhysteric.byethost13.com/small/matt-lawrence.html matt lawrence] [http://englishdork10.22web.net/data/information-about/ information about civil war battle] [http://setch.22web.net/data/euro-tanks/ euro tanks] [http://woopwooooop.22web.net/ip-over/ ip over phone service] [http://lethal.talk4fun.net/blog/ships-of.html ships of the royal navy in world war 2] [http://setch.22web.net/data/pr-week/ pr week] [http://lethal.talk4fun.net/blog/omega-.html omega 3 6 9 depression] [http://julialincoln.totalh.com/content/proposing-youre/ proposing youre] [http://divhysteric.byethost13.com/small/lyrics-to.html lyrics to music of the night phantom] [http://englishdork10.22web.net/data/nomadic-state/ nomadic state] [http://sham0t.22web.net/blog/shrink-shirts/ shrink shirts] [http://sham0t.22web.net/blog/l-m/ l m modeling agency] [http://bedep.totalh.com/content/pollution-monitoring/ pollution monitoring instruments] [http://ellatsinela.22web.net/content/shine-film/ shine film review] [http://setch.22web.net/data/line-drive/ line drive sports inc] [http://manaev.talk4fun.net/blog/st-united.html 1st united credit union services] [http://woopwooooop.22web.net/what-is/ what is slate stone] [http://woopwooooop.22web.net/affordable-low/ affordable low level laser] [http://bedep.totalh.com/content/enwikipediaorg-online/ enwikipediaorg online site] [http://manaev.talk4fun.net/blog/passadena-city.html passadena city college] [http://woopwooooop.22web.net/reference-sample/ reference sample job] [http://julialincoln.totalh.com/content/sale-pvc/ sale pvc] [http://englishdork10.22web.net/data/real-estate/ real estate center of the black hills] [http://atomites.talk4fun.net/data/partido-popular.html partido popular espana] [http://kimpurusha.talk4fun.net/content/new-york.html new york school boards] [http://julialincoln.totalh.com/content/elizabeth-grant/ elizabeth grant] [http://sham0t.22web.net/blog/key-west/ key west fl pictures] [http://komoff.talk4fun.net/lib/postfix-email.html postfix email server] [http://englishdork10.22web.net/data/lesbian-chicks/ lesbian chicks] [http://sham0t.22web.net/blog/make-phone/ make phone ringers] [http://atomites.talk4fun.net/data/stability-balls.html stability balls exercises] [http://bedep.totalh.com/content/luxury-vacation/ luxury vacation packages on the big island] [http://julialincoln.totalh.com/content/adventure-time/ adventure time titanic] [http://shadowycorner.talk4fun.net/small/retail-clothing/ retail clothing juniors] [http://julialincoln.totalh.com/content/p-value/ p value is] [http://komoff.talk4fun.net/lib/aida-cruises.html aida cruises] [http://manaev.talk4fun.net/blog/ideas-for.html ideas for small kitchens] [http://manaev.talk4fun.net/blog/psychology-multiple.html psychology multiple choice questions] [http://woopwooooop.22web.net/archive-music/ archive music downloads] [http://belik.totalh.com/knowledge-knowledge/ knowledge knowledge library management sharing] [http://bedep.totalh.com/content/piranaha/ piranaha] [http://julialincoln.totalh.com/content/x-file/ x file image] [http://bedep.totalh.com/content/i-got/ i got to have it lyrics] [http://ellatsinela.22web.net/content/kids-books/ kids books about friendship] [http://lethal.talk4fun.net/blog/ms-access.html ms access tutorials online] [http://komoff.talk4fun.net/lib/shared-object.html shared object unix] [http://komoff.talk4fun.net/lib/air-miles.html air miles log on] [http://englishdork10.22web.net/data/exchange-open/ exchange open relay test] [http://bedep.totalh.com/content/job-mexico/ job mexico new nursing] [http://shadowycorner.talk4fun.net/small/northern-resort/ northern resort sale wisconsin] [http://kimpurusha.talk4fun.net/content/steel-atv.html steel atv trailer] [http://divhysteric.byethost13.com/small/steamboat-springs.html steamboat springs houses] [http://manaev.talk4fun.net/blog/state-university.html state university in illinois] [http://bedep.totalh.com/content/peoples-weaknesses/ peoples weaknesses] [http://komoff.talk4fun.net/lib/myaccessmedia.html myaccessmedia] [http://bedep.totalh.com/content/southern-highland/ southern highland golf course] [http://divhysteric.byethost13.com/small/mn-.html mn 500 wireless] [http://bedep.totalh.com/content/stiff-neck/ stiff neck and back] [http://englishdork10.22web.net/data/state-day/ state day care license] [http://shadowycorner.talk4fun.net/small/movie-theater/ movie theater portland or] [http://atomites.talk4fun.net/data/review-site.html review site top] [http://julialincoln.totalh.com/content/nylon-carpet/ nylon carpet] [http://sham0t.22web.net/blog/licensed-marriage/ licensed marriage and family therapist] [http://kimpurusha.talk4fun.net/content/artist-joan.html artist joan mitchell] [http://lethal.talk4fun.net/blog/avis-canada.html avis canada car rental] [http://setch.22web.net/data/new-york/ new york fashion week spring 2005] [http://ellatsinela.22web.net/content/turkey-news/ turkey news articles] [http://ellatsinela.22web.net/content/epidemiology-infection/ epidemiology infection] [http://kimpurusha.talk4fun.net/content/automotive-paintings.html automotive paintings] [http://sham0t.22web.net/blog/miltonkeynes-council/ miltonkeynes council] [http://liubash.talk4fun.net/library/investor-relations.html investor relations web site] [http://woopwooooop.22web.net/lingus-flights/ lingus flights] [http://manaev.talk4fun.net/blog/sl.html sl 10000] [http://nemclend.6te.net/styles/butterfly.html butterfly] [http://cabanes.orgfree.com/small/multivitamins/ multivitamins] [http://cueliza.ueuo.com/directory/high-risk.html high risk lenders poor credit personal loans] [http://wekaiser.6te.net/alltel-cellular/ alltel cellular phone] [http://kupeddy.orgfree.com/web/paint-roller.html paint roller cleaner] [http://hohoffma.ueuo.com/dodge-dakota/ dodge dakota] [http://bacowen.orgfree.com/view/lesbian-chat/ lesbian chat] [http://mocomyn.orgfree.com/italian-charm/ italian charm] [http://thsteger.ueuo.com/view/free-printable.html free printable invitations] [http://mabeckha.6te.net/blog/cunt.html cunt] [http://kupeddy.orgfree.com/web/pet-shop.html pet shop] [http://tesibrel.orgfree.com/blog/samsung-phones/ samsung phones] [http://mabeckha.6te.net/blog/hot-sexy.html hot sexy babes] [http://cueliza.ueuo.com/directory/hannah-montana.html hannah montana] [http://tesibrel.orgfree.com/blog/married-dating/ married dating] [http://bacowen.orgfree.com/view/bmw/ bmw 645] [http://thsteger.ueuo.com/view/having-sex.html having sex] [http://hineill.ueuo.com/text/air-canada/ air canada flight] [http://knvanbre.orgfree.com/native-american/ native american] [http://etpeach.ueuo.com/directory/wireless-dsl/ wireless dsl modem router] [http://krgiffor.orgfree.com/description/testosterone/ testosterone] [http://hohoffma.ueuo.com/dodge-ram/ dodge ram] [http://jacordia.6te.net/pc-world.html pc world] [http://hineill.ueuo.com/text/bag-bed/ bag bed in wholesale] [http://kupeddy.orgfree.com/web/pga-golf.html pga golf] [http://jacordia.6te.net/anal-porn.html anal porn] [http://necrush.6te.net/lib/free-web.html free web cam] [http://mabeckha.6te.net/blog/anal-sex.html anal sex gallery] [http://etpeach.ueuo.com/directory/jack-daniels/ jack daniels] [http://bacowen.orgfree.com/view/sony-ringtones/ sony ringtones] [http://nemclend.6te.net/styles/pearl-river.html pearl river hilton] [http://mocomyn.orgfree.com/jeep/ jeep] [http://hohoffma.ueuo.com/ford-mustangs/ ford mustangs] [http://hineill.ueuo.com/text/bag-bed/ bag bed n] [http://cueliza.ueuo.com/directory/mitsubishi-colt.html mitsubishi colt] [http://necrush.6te.net/lib/teen-pornography.html teen pornography] [http://wekaiser.6te.net/surgical-technician/ surgical technician] [http://vecriss.orgfree.com/resources/playboy-the.html playboy the mansion] [http://weboland.6te.net/description/small-business/ small business] [http://ovap-poll.ueuo.com/html/bet-music.html bet music] [http://mabeckha.6te.net/blog/bot.html bot] [http://weboland.6te.net/description/live-psychic/ live psychic] [http://ovap-poll.ueuo.com/html/plumbing-trade.html plumbing trade] [http://thsteger.ueuo.com/view/sexy-screensavers.html sexy screensavers] [http://hineill.ueuo.com/text/summer-party/ summer party invitations] [http://jacordia.6te.net/pain-killer.html pain killer] [http://ovap-poll.ueuo.com/html/free-scrapbooking.html free scrapbooking layouts] [http://kupeddy.orgfree.com/web/friend-finder.html friend finder] [http://wekaiser.6te.net/panerai/ panerai] [http://hineill.ueuo.com/text/remington/ remington] [http://kupeddy.orgfree.com/web/free-tarot.html free tarot] [http://knvanbre.orgfree.com/kitchen-floor/ kitchen floor tiles] [http://tesibrel.orgfree.com/blog/bag-boy/ bag boy express] [http://jacordia.6te.net/ambien-pharmacy.html ambien pharmacy] [http://weboland.6te.net/description/loans-for/ loans for bad credit] [http://elloveda.6te.net/description/go-airlines/ go airlines] [http://mocomyn.orgfree.com/george-strait/ george strait ticket] [http://necrush.6te.net/lib/amateur-movie.html amateur movie sex] [http://weboland.6te.net/description/what-is/ what is medical transcription] [http://laneusus.ueuo.com/verizon-wireless.html verizon wireless text messaging] [http://vecriss.orgfree.com/resources/women-porn.html women porn] [http://nemclend.6te.net/styles/nokia-polyphonic.html nokia polyphonic ringtone] [http://ovap-poll.ueuo.com/html/verizon-wireless.html verizon wireless sync] [http://mocomyn.orgfree.com/honda-accord/ honda accord] [http://bacowen.orgfree.com/view/best-web/ best web design software] [http://etpeach.ueuo.com/directory/computer-games/ computer games] [http://hineill.ueuo.com/text/verizon-wireless/ verizon wireless internet] [http://krgiffor.orgfree.com/description/nextel-phone/ nextel phone] [http://knvanbre.orgfree.com/french-baby/ french baby clothes] [http://cueliza.ueuo.com/directory/auto-blue.html auto blue book] [http://cabanes.orgfree.com/small/vanity/ vanity] [http://mocomyn.orgfree.com/black-jack/ black jack online] [http://necrush.6te.net/lib/used-golf.html used golf carts] [http://mabeckha.6te.net/blog/interracial-erotica.html interracial erotica] [http://thsteger.ueuo.com/view/download-free.html download free porn video] [http://laneusus.ueuo.com/louisiana-lottery.html louisiana lottery] [http://elloveda.6te.net/description/sports-book/ sports book] [http://ovap-poll.ueuo.com/html/flowers-pictures.html flowers pictures] [http://wekaiser.6te.net/diapers/ diapers] [http://metheres.6te.net/content/download-free.html download free screensaver] [http://cueliza.ueuo.com/directory/colombia.html colombia] [http://ovap-poll.ueuo.com/html/actress.html actress] [http://knvanbre.orgfree.com/dogs/ dogs] [http://bacowen.orgfree.com/view/panda-antivirus/ panda antivirus download] [http://necrush.6te.net/lib/halloween-costume.html halloween costume idea group] [http://vecriss.orgfree.com/resources/rocco-siffredi.html rocco siffredi] [http://nemclend.6te.net/styles/yahoo-adult.html yahoo adult personals] [http://cabanes.orgfree.com/small/cheap-flight/ cheap flight to orlando] [http://kupeddy.orgfree.com/web/carbohydrates-in.html carbohydrates in food] [http://etpeach.ueuo.com/directory/mexicana-airline/ mexicana airline] [http://metheres.6te.net/content/-gt.html 500 gt mustang] [http://thsteger.ueuo.com/view/granny-porno.html granny porno] [http://vecriss.orgfree.com/resources/teen-models.html teen models] [http://nocam.ueuo.com/data/soulmate/ soulmate] [http://laneusus.ueuo.com/brazilian-ass.html brazilian ass] [http://hohoffma.ueuo.com/home-office/ home office furniture] [http://knvanbre.orgfree.com/free-mp/ free mp3 music download] [http://kupeddy.orgfree.com/web/free-music.html free music download site] [http://nocam.ueuo.com/data/jewelery/ jewelery] [http://etpeach.ueuo.com/directory/car-rental/ car rental discount coupons] == 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