User contributions
Jump to navigation
Jump to search
- 00:27, 24 March 2020 diff hist -5 Key.get
- 00:26, 24 March 2020 diff hist +380 N Key.get Created page with "<c>key.get</c> removes and returns the next key in the keyboard input buffer. If the input buffer is currently clear (empty), then this method waits until a key is pressed...."
- 23:50, 23 March 2020 diff hist +288 N Key.clear Created page with "<c>key.clear</c> clears the keyboard input buffer. This is often used before exiting a game, so that any key presses made during the game don't spill out into the command lin..."
- 23:48, 23 March 2020 diff hist -10 Key.available
- 23:47, 23 March 2020 diff hist +8 Key.available
- 23:47, 23 March 2020 diff hist +411 N Key.available Created page with "<c>key.available</c> returns whether there is a keypress available in the input buffer. If true, you can call key.get to get the next key immediately. See also:key.clear; key..."
- 16:16, 18 March 2020 diff hist +537 N Val Created page with "<c>val</c> returns the numeric value of a given string. (If given a number, returns it as-is; if given a list or map, returns null.) See also: str === Arguments === {| cla..." current
- 15:47, 18 March 2020 diff hist +440 N Upper Created page with "<c>upper</c> return an upper-case (all capitals) version of a string. See also: lower === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Mea..."
- 15:44, 18 March 2020 diff hist +109 N Time Created page with "<c>time</c> returns the number of seconds since the script started running. Category:Intrinsic Functions"
- 15:43, 18 March 2020 diff hist +340 N Tan Created page with "<c>tan</c> returns the tangent of the given angle (in radians). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''radians'' || nu..." current
- 15:41, 18 March 2020 diff hist 0 Sort
- 16:26, 17 March 2020 diff hist +369 N Sum Created page with "<c>sum</c> returns the total of all elements in a list, or all values in a map. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | '..." current
- 16:24, 17 March 2020 diff hist +354 N Shuffle Created page with "<c>shuffle</c> randomize the order of elements in a list, or the mappings from keys to values in a map. This is done in place. === Arguments === {| class="wikitable" |- ! P..."
- 16:23, 17 March 2020 diff hist +684 N String type Created page with "<c>string type</c> returns a map that represents the string datatype in MiniScript's core type system. See also: number, list, map, funcRef === Arguments ===..."
- 16:21, 17 March 2020 diff hist +364 N Str Created page with "<c>str</c> coverts any value to a string === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''x'' || any || value to convert |} ==..." current
- 16:20, 17 March 2020 diff hist +313 N Sqrt Created page with "<c>sqrt</c> returns the square root of a number. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''x'' || number || number to get..."
- 16:18, 17 March 2020 diff hist +666 N Split Created page with "<c>split</c> splits a string into a list, by some delimiter. See also: join === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- |..."
- 16:15, 17 March 2020 diff hist +725 N Sort Created page with "<c>sort</c> Sorts a list in place. With null or no argument, this sorts the list elements by their own values. See also: shuffle === Arguments === {| class="wikitabl..."
- 16:12, 17 March 2020 diff hist +817 N Slice Created page with "<c>slice</c> returns a subset of a string or list. This is equivalent to using the square-brackets slice operator seq[from:to], but with ordinary function syntax. === Argume..."
- 16:08, 17 March 2020 diff hist -1 Sin current