Search results

Jump to navigation Jump to search
  • = Guide To Add New Functions To Wiki Via Script = == 1. Gather Ashref Functions ==
    10 KB (1,356 words) - 04:44, 29 April 2023
  • // as the test doesn't occur map[15]["test"] = true;
    10 KB (1,450 words) - 13:11, 6 March 2021
  • : E.g. {{Pspan|<.+>}} will match "This is a {{Pspan|<nowiki><b>test</b></nowiki>}}." instead of matching '''only''' the html tag as you might h : E.g. {{Pspan|<.+?>}} will match "This is a {{Pspan|<nowiki><b></nowiki>}}test<nowiki></b></nowiki>." so that you can pick out html tags.
    8 KB (1,281 words) - 21:48, 2 August 2011
  • ...ngs and buffers. However, you should test all such actions first, as a few functions require a specific datatype to be supplied as a parameter. (Most notably, t ([[Bounty#Related Functions|Related Functions]]) ([[Bounty#Proxy Record Fields|Proxy Record Fields]])
    16 KB (2,415 words) - 03:15, 2 March 2023
  • ...fied with [[replace_string|replace_string()]] or other string manipulation functions. * ASH string functions [[entity_encode|entity_encode()]] and [[entity_decode|entity_decode()]], fo
    16 KB (2,308 words) - 07:14, 13 March 2021
  • ...useful to those who have followed the included steps to make use of these functions; they are not built-in to KoLmafia. == String Functions ==
    40 KB (6,317 words) - 06:21, 28 July 2021
  • You can test the presence of a key in a map using the "contains" operator: ...as you don't leave the scope in which the record was declared), such as in functions and other records.
    21 KB (3,322 words) - 17:33, 27 February 2021
  • ...mbiguity. This also allows names with commas to be passed as parameters to functions that contain comma separated lists. To do this the item needs to be preface | test a line of ASH code without having to edit a script.
    28 KB (3,853 words) - 20:56, 12 August 2019