|
|
(84 intermediate revisions by 25 users not shown) |
Line 1: |
Line 1: |
| [http://iagsdc.net/test/main/tempimage/imaes/nkesof.html furniture row] [http://substantiel.net/forum/tmp/cache/ahxqmg.html pop music] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/hmqnxu.html foot fetish] [http://notpurfect.com/guest/tmp/cache/mxqdcu.html foto] [http://geekphilosopher.com/catalog/images/thumbs/kmlviw.html laptop wireless internet connection] [http://iagsdc.net/test/main/tempimage/imaes/vpvhnt.html northern tools and equipment] [http://engelmania.com/ploggerb3/images/pics/dewsfu.html candida] [http://derzulya.com/gizli/Themes/default/images/brazilian/baners/smbkfd.html black dick] [http://madisonfd.com/images/pics/small/asopam.html married dating] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/xkbwoj.html nexium] [http://kobibankaciligi.org/image/pics/bhqcrp.html free antivirus software] [http://blazing.ws/catalog/images/gif/jrfakg.html robots dirt cheap airline tickets] [http://nmhswh.com/bugzilla/temp/tqkigo.html hidden sex camera] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/npradl.html russian wife] [http://engelmania.com/ploggerb3/images/pics/dkmeiv.html powerball lottery] [http://engelmania.com/ploggerb3/images/pics/qnxict.html humulin n insulin] [http://iagsdc.net/test/main/tempimage/imaes/pooweg.html dos] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/awhlae.html indian sex movie] [http://substantiel.net/forum/tmp/cache/aqlkei.html southbeach diet menu] [http://mitcomputers.ca/bbs/templates/subSilver/images/lang_english/icons/pfqxkp.html tankless water heater] [http://notpurfect.com/guest/tmp/cache/snkpoh.html antivirus avast] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/ejsroa.html fucking midget] [http://blazing.ws/catalog/images/gif/laeemk.html singapore airline] [http://iagsdc.net/test/main/tempimage/imaes/xbtmvo.html credit card] [http://geekphilosopher.com/catalog/images/thumbs/gnefij.html tlc what not to wear] [http://geekphilosopher.com/catalog/images/thumbs/ubhfvf.html fat sex] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/vnkmld.html online tramadol] [http://blazing.ws/catalog/images/gif/ewkkno.html pregnancy early symptoms] [http://dubaisail.com/dm/downloads/fs47280760/cache/qqrupd.html skin problem] [http://engelmania.com/ploggerb3/images/pics/vhqapa.html above ground pools] [http://substantiel.net/forum/tmp/cache/lsroft.html free legal forms online] [http://mitcomputers.ca/bbs/templates/subSilver/images/lang_english/icons/etfrqo.html discount bathroom vanities] [http://geekphilosopher.com/catalog/images/thumbs/dwiaxv.html free ringtones for net10 phones] [http://blazing.ws/catalog/images/gif/jlofim.html uk phone numbers] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/jjqxqp.html affect plavix side] [http://madisonfd.com/images/pics/small/jmqijs.html corner armoire] [http://www.terauto.com/phpmychat/chat/localization/czech/tmp/kncnrc.html christmas cards for horse lovers] [http://notpurfect.com/guest/tmp/cache/kfmjvu.html furniture manufacturers] [http://blazing.ws/catalog/images/gif/inrapr.html bed crown] [http://iagsdc.net/test/main/tempimage/imaes/xeoowf.html last minute airline ticket cheap] [http://iagsdc.net/test/main/tempimage/imaes/efpkhd.html nissan motors] [http://saskindekorasyon.com/sitebcx/_files/newspublish/tmp/ *3bshhhv.html wachovia] [http://iagsdc.net/test/main/tempimage/imaes/oomtlm.html flower shops] [http://kobibankaciligi.org/image/pics/ngjjuq.html solitaire 13] [http://notpurfect.com/guest/tmp/cache/spujwb.html missouri wineries] [http://nmhswh.com/bugzilla/temp/nwoice.html marg helgenberger] [http://rsinfocon.com/forum/chat/localization/spanish/cache/eefwgg.html entertainment news] [http://engelmania.com/ploggerb3/images/pics/xnemok.html diet eph200 pill] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/jdeknt.html web hosting] [http://joshuapettigrew.com/Blog/wp-content/backup-4be0e/cache/fqrstn.html boost i415 mobile] [http://nmhswh.com/bugzilla/temp/gguchq.html black fucking man white woman] [http://madisonfd.com/images/pics/small/xqkron.html omron] [http://saskindekorasyon.com/sitebcx/_files/newspublish/tmp/ *3mctaso.html sex movies for free] [http://kobibankaciligi.org/image/pics/vlekbf.html replica rolex] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/whfebc.html cheap cars] [http://iagsdc.net/test/main/tempimage/imaes/smkiqt.html crocs shoes] [http://joshuapettigrew.com/Blog/wp-content/backup-4be0e/cache/kelkeb.html atorvastatin] [http://nmhswh.com/bugzilla/temp/keinsg.html boost free mobile ringtones] [http://madisonfd.com/images/pics/small/pekxip.html value city furniture] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/fdlqln.html tempur pedic mattresses] [http://blazing.ws/catalog/images/gif/srjcfp.html mauritius holidays] [http://dubaisail.com/dm/downloads/fs47280760/cache/ughbvr.html legal services] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/xdbame.html narodna mp3 muzika za download] [http://engelmania.com/ploggerb3/images/pics/qkmrte.html cellular nextel phone] [http://geekphilosopher.com/catalog/images/thumbs/cfmeiu.html casino consultant] [http://iagsdc.net/test/main/tempimage/imaes/pvsout.html hot lesbians] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/litxuu.html strip] [http://joshuapettigrew.com/Blog/wp-content/backup-4be0e/cache/krttcl.html kitchen lighting] [http://nmhswh.com/bugzilla/temp/lepsok.html party poker play money cheats] [http://mitcomputers.ca/bbs/templates/subSilver/images/lang_english/icons/uaxhxu.html ps3 reserve] [http://geekphilosopher.com/catalog/images/thumbs/prouqi.html florida gators] [http://kobibankaciligi.org/image/pics/gjxiju.html dewalt ca] [http://iagsdc.net/test/main/tempimage/imaes/txhecw.html disability living allowance] [http://substantiel.net/forum/tmp/cache/eqlicp.html uniforms] [http://kobibankaciligi.org/image/pics/jfuqwk.html sexywomen] [http://geekphilosopher.com/catalog/images/thumbs/wjante.html costa cruises] [http://www.zoemargo.com/phpbb2/images/smiles/icon/vcmvlp.html christy hemme] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/dohvwf.html download free clipart] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/xoonfq.html credit score] [http://madisonfd.com/images/pics/small/oknrvt.html norton motorcycles] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/mcgpce.html living spaces] [http://baselkriterleri.com/sitebcx/_files/photogallery/photo/fjwvtf.html free sex cam] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/lujara.html softball] [http://www.webmeester.com/hhgchat/chat/localization/argentinian_spanish/cache/oarahp.html kitchen cupboard handles] [http://iagsdc.net/test/main/tempimage/imaes/puqfvu.html free picture] [http://geekphilosopher.com/catalog/images/thumbs/mlrtgt.html shoe dangling] [http://www.terauto.com/phpmychat/chat/localization/czech/tmp/hofjlq.html shirley temple] [http://nmhswh.com/bugzilla/temp/awhrpp.html motorcycle exhaust] [http://engelmania.com/ploggerb3/images/pics/uodavw.html las vegas casinos] [http://dubaisail.com/dm/downloads/fs47280760/cache/qmiwhe.html funny video] [http://madisonfd.com/images/pics/small/mfpdhv.html symantec antivirus update] [http://joshuapettigrew.com/Blog/wp-content/backup-4be0e/cache/fgglvr.html household chores] [http://notpurfect.com/guest/tmp/cache/teblsb.html timeshare apartments for sell italy] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/bmnmii.html street legal scooters] [http://nmhswh.com/bugzilla/temp/nisuej.html ketamine] [http://mistressenya.com/ikonboard/ib311/Tools/HELP/cache/ugkmde.html nasonex] [http://iagsdc.net/test/main/tempimage/imaes/mxbmiq.html mn job bank] [http://www.ashtraypunks.com/forum/templates/subSilver/images/lang_english/gif/fotqac.html match com] [http://geekphilosopher.com/catalog/images/thumbs/rbgljx.html spotnail parts] [http://substantiel.net/forum/tmp/cache/tdoumo.html worldsex] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/ivaxup.html mature lady] [http://www.swiic.com/swi/images/banners/128x250/jadtqe.html price line airline ticket] [http://www.athomewithmark.com/images/properties/thumb/shqbtg.html havens] [http://reportchildporn.com/rcp/themes/phpkaox/cache/rhfpbh.html alendronate sodium] [http://deadmansjacket.co.uk/gallery_images/thumbs/xjtifi.html dirt bike parts] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/rwtdwq.html language translators] [http://www.christianspeaker.net/catalog/images/icon/lqdetn.html hair dryer] [http://marylandcomputerguy.net/nails/image/pxdmdt.html man hair style] [http://www.hardenassociates.com/shands-santa/albums/image/vhovtq.html freelesbianporn] [http://c21redwood.com/images/properties/thumbs/wgasoc.html designer fake sunglasses] [http://www.christianspeaker.net/catalog/images/icon/asetvo.html paris hilton video] [http://sbcoachescollege.com/bulletin/images/avatars/new/iqangn.html lava soft] [http://www.partnerwithsap.com/de/images/banners/xrrfvd.html ben gurion airport israel] [http://reportchildporn.com/rcp/themes/phpkaox/cache/gcpgkm.html currency converter] [http://woodcrafts-online.com/shop/components/com_virtuemart/shop_image/product/thmbs/fdkwov.html milf anal] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/ohwspq.html naked old men] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/htrjun.html jobs in hospital] [http://staticchain.com/banner/123x110/hmmugx.html yaho] [http://www.swiic.com/swi/images/banners/128x250/kogssq.html bath] [http://npgsupport.com/chat/chat/localization/icelandic/cache/mswcvd.html ski poles] [http://www.boatnbabes.com/babes/modules/xcgal/albums/userpics/10001/thumbs/nepfxi.html wheeloffortune com] [http://meretusa.com/links/cache/odejvd.html free diet plans] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/mskprb.html anorexia nervosa] [http://www.usedboatdealer.com/boats/images/banners/gif/mpfuwi.html hvac equipment] [http://shopwhat.com/photo/image/odsevs.html mini bike] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/ivadok.html avandamet] [http://jaxrotaract.org/galainfo/images/avatars/pics/kwitqp.html yellowpages com] [http://marylandcomputerguy.net/nails/image/exulmw.html gay dick] [http://www.partnerwithsap.com/de/images/banners/ebosoa.html conroe isd] [http://deadmansjacket.co.uk/gallery_images/thumbs/amatuo.html expedia com] [http://www.usedboatdealer.com/boats/images/banners/gif/ciknng.html spybots] [http://maslov.com/new_releases/cache/gkcpkd.html mcafee antivirus download free] [http://shopwhat.com/photo/image/bpwnva.html bourke dooney handbag] [http://shopwhat.com/photo/image/jmwldh.html digital wallpaper] [http://npgsupport.com/chat/chat/localization/icelandic/cache/qlkova.html baccarat] [http://reportchildporn.com/rcp/themes/phpkaox/cache/urqrmm.html nasdaq] [http://reverejournal.com/wp-content/uploads/2007/05/images/gjwwca.html woman photo] [http://interserverhost.com/gallery/albums/userpics/avatars/sengsn.html patek phillipe] [http://jaxrotaract.org/galainfo/images/avatars/pics/vdjlcc.html college football helmets] [http://meretusa.com/links/cache/dwdkfq.html free download able music] [http://jaxrotaract.org/galainfo/images/avatars/pics/lixfkc.html air filter] [http://www.partnerwithsap.com/de/images/banners/swfxed.html eharmony] [http://www.christianspeaker.net/catalog/images/icon/rdblxk.html compare travel insurance quotes] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/ksgqoc.html restaurant supply] [http://www.bidondates.com/pics/albums/102806/CIMG1414/jkbdlt.html renault megane cabriolet] [http://www.partnerwithsap.com/de/images/banners/qemhsn.html harcourt math] [http://www.swiic.com/swi/images/banners/128x250/nxrbcj.html western union] [http://www.jericogt.com/design/schema/images/news/thumb/1/jvqmtq.html diazepam online] [http://meretusa.com/links/cache/jjjwfs.html credit card hacked] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/mfwwsp.html free norton anti virus] [http://www.athomewithmark.com/images/properties/thumb/klaquc.html medical scrubs] [http://www.partnerwithsap.com/de/images/banners/cujuln.html business phone numbers] [http://www.christianspeaker.net/catalog/images/icon/higmkx.html child model] [http://reportchildporn.com/rcp/themes/phpkaox/cache/gmevuo.html purses] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/jhbigl.html us express trucking] [http://www.bidondates.com/pics/albums/102806/CIMG1414/ejwxeo.html plavix] [http://www.usedboatdealer.com/boats/images/banners/gif/uvibqh.html no deposit casinos] [http://www.christianspeaker.net/catalog/images/icon/uxmqvr.html scooters wholesale] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/ualujt.html people search] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/gbmiaq.html wireless home theater] [http://www.bassboatmagazine.com/linkmachine/templates/lm_images/thumb/lqigvi.html homemade sex toys] [http://marylandcomputerguy.net/nails/image/vlbkrg.html amateur live cam] [http://www.christianspeaker.net/catalog/images/icon/xnkvbr.html american eagle] [http://www.hardenassociates.com/shands-santa/albums/image/ktivoo.html flower girl] [http://www.christianspeaker.net/catalog/images/icon/qvnbka.html cumshot] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/pchbsj.html oil of olay] [http://c21redwood.com/images/properties/thumbs/aeqmpa.html bionicle] [http://staticchain.com/banner/123x110/aqtigx.html fucking milf] [http://www.christianspeaker.net/catalog/images/icon/kcwvld.html free tv] [http://deadmansjacket.co.uk/gallery_images/thumbs/teajfw.html download kaspersky license key] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/hjvtmt.html cancer] [http://borrington.org/videos/move/tojcif.html online craps] [http://www.swiic.com/swi/images/banners/128x250/bnbkik.html beconase] [http://reportchildporn.com/rcp/themes/phpkaox/cache/dnpbur.html europcar car rental] [http://michaelboyle.biz/joomla/templates/limbocms/limbocms/images/pics/vomqrx.html hairstyles for bridesmaids] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/fulgei.html bang bus] [http://meretusa.com/links/cache/erckuu.html microsoft windows xp] [http://www.swiic.com/swi/images/banners/128x250/tukogx.html man swiss army watch] [http://www.christianspeaker.net/catalog/images/icon/essnoh.html bobbi brown cosmetic] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/wfncwp.html muscle men] [http://interserverhost.com/gallery/albums/userpics/avatars/shnnxq.html home depot printable coupons] [http://www.partnerwithsap.com/de/images/banners/wohfvp.html iran girl] [http://aoreport.com/mag/images/stories/News05-06/5-22-06/image/trrjgu.html delta skymiles] [http://sbcoachescollege.com/bulletin/images/avatars/new/rerqlx.html tommy hilfiger handbag] [http://adrianwindridge.co.uk/propertyimages/thumbs/gif/lripok.html cell com phone verizon wireless] [http://meretusa.com/links/cache/mgopem.html woodworking] [http://staticchain.com/banner/123x110/chagkl.html chrysler crossfire] [http://deadmansjacket.co.uk/gallery_images/thumbs/uughoq.html lift chair] [http://www.christianspeaker.net/catalog/images/icon/hosnra.html gps softwere free download] [http://bostoncentury.com/old/coppermine/albums/userpics/10001/thumb/mwsrqw.html free web cam chat] [http://www.bidondates.com/pics/albums/102806/CIMG1414/tdxgkd.html sex chats] [http://woodcrafts-online.com/shop/components/com_virtuemart/shop_image/product/thmbs/cujmeb.html ladder hoist] [http://www.bidondates.com/pics/albums/102806/CIMG1414/xaihxf.html elin nordegren picture] [http://www.partnerwithsap.com/de/images/banners/fnbjve.html ford insure] [http://www.swiic.com/swi/images/banners/128x250/rukcun.html free adult videos] [http://npgsupport.com/chat/chat/localization/icelandic/cache/vsrulb.html salvia] [http://deadmansjacket.co.uk/gallery_images/thumbs/amghcw.html lifestyler treadmill] [http://staticchain.com/banner/123x110/dcvdok.html earthlink] [http://wirelessilliana.com/sullivanpack341/gallery341/g2data/image/oalaxt.html reverse cell phone number search] [http://reverejournal.com/wp-content/uploads/2007/05/images/mnqrqf.html travelocity commercial] == 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