User contributions
Jump to navigation
Jump to search
- 21:46, 1 April 2020 diff hist +307 N SolidColorDisplay.color Created page with "<c>SolidColorDisplay.color</c> gets or sets the color shown by this display. The alpha channel is functional, so you can make such a display semi-transparent. == Example ==..."
- 21:44, 1 April 2020 diff hist +665 N Display.mode Created page with "<c>Display.mode</c> this property gives (or allows you to change) the mode of a Display instance. See also: displayMode === Usage Notes === When you assign a different m..."
- 15:42, 24 March 2020 diff hist +259 N Mouse.visible Created page with "<c>mouse.visible</c> controls whether the mouse cursor is currently visible. Assign false (0) to this to hide the mouse cursor, and true (1) to show it again. == Example ==..." current
- 15:37, 24 March 2020 diff hist +47 Mouse.x
- 15:37, 24 March 2020 diff hist +223 N Mouse.y Created page with "<c>mouse.y</c> returns the current distance (in pixels) of the mouse cursor from the bottom edge of the screen. See also: mouse.x; Screen coordinates == Example ==..."
- 15:35, 24 March 2020 diff hist +173 N Mouse.x Created page with "<c>mouse.x</c> returns the current distance (in pixels) of the mouse cursor from the left edge of the screen. == Example == <ms>print mouse.x</ms> Category:Mini Micro"
- 15:33, 24 March 2020 diff hist +4 Key.keyNames
- 15:33, 24 March 2020 diff hist +455 N Key.keyNames Created page with "<c>key.keyNames</c> returns a list of all the key names available for use with key.pressed. See also: key.pressed === Usage Notes === This can be used, for example, to..."
- 15:25, 24 March 2020 diff hist +698 N Key.axis Created page with "<c>key.axis</c> returns the numeric value (from -1 to 1) of an input axis. See also: key.pressed === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! D..."
- 00:31, 24 March 2020 diff hist +825 N Key.pressed Created page with "<c>key.pressed</c> detects whether a specific key or button input is currently pressed. See also: key.keyNames; key.axis === Arguments === {| class="wikitable" |-..."
- 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
- 16:08, 17 March 2020 diff hist +336 N Sin Created page with "<c>sin</c> returns the sine of the given angle (in radians). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''radians'' || numbe..."
- 16:06, 17 March 2020 diff hist -1 Sign current
- 16:06, 17 March 2020 diff hist +344 N Sign Created page with "<c>sign</c> returns -1 for negative numbers, 1 for positive numbers, and 0 for zero. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning..."
- 16:04, 17 March 2020 diff hist +594 N Rnd Created page with "<c>rnd</c> Generates a pseudorandom number between 0 and 1 (including 0 but not including 1). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !!..."
- 16:03, 17 March 2020 diff hist +1 Round →Example
- 16:02, 17 March 2020 diff hist +602 N Round Created page with "<c>round</c> rounds a number to the specified number of decimal places. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''x'' ||..."
- 16:01, 17 March 2020 diff hist +3 Replace
- 16:00, 17 March 2020 diff hist +1,140 N Replace Created page with "<c>replace</c> Replace all matching elements of a list or map, or substrings of a string, with a new value. === Arguments === {| class="wikitable" |- ! Parameter Name !! De..."
- 15:54, 17 March 2020 diff hist +967 N Remove Created page with "<c>remove</c> removes part of a list, map, or string. See also: indexOf === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''se..."
- 15:50, 17 March 2020 diff hist +1 Range
- 15:50, 17 March 2020 diff hist +442 N Range Created page with "<c>range</c> Return a list containing a series of numbers within a range. from (number, default 0): first number to include in the list to (number, default 0): point at which..."
- 15:47, 17 March 2020 diff hist +465 N Push Created page with "<c>push</c> appends an item to the end of a list, or inserts it into a map as a key with a value of 1. See also: pop; pull; insert === Arguments === {| class="wi..."
- 15:45, 17 March 2020 diff hist +613 N Pull Created page with "<c>pull</c> removes and returns the first item in a list, or an arbitrary key of a map. If the list or map is empty (or if called on any other data type), returns null. See..." current
- 15:43, 17 March 2020 diff hist +610 N Pop Created page with "<c>pop</c> removes and returns the last item in a list, or an arbitrary key of a map. If the list or map is empty (or if called on any other data type), returns null. See al..." current
- 15:35, 17 March 2020 diff hist +191 N Pi Created page with "<c>pi</c> returns the universal constant π, that is, the ratio of a circle's circumference to its diameter. == Example == <ms>pi // returns 3.141593</ms> Category:Intri..." current
- 15:33, 17 March 2020 diff hist +529 N Number type Created page with "<c>funcname</c> Returns a map that represents the number datatype in miniScript's core type system. See also: string; list; map; funcRef === Usage Notes ==..."
- 15:28, 17 March 2020 diff hist +451 N Map type Created page with "<c>map type</c> returns a map that represents the map datatype in MiniScript's core type system. See also: number; string; list; funcRef === Usage Notes ===..."
- 17:59, 16 March 2020 diff hist +425 N Lower Created page with "<c>lower</c> returns a lower-case version of a string. See also: upper === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''sel..." current
- 17:56, 16 March 2020 diff hist -1 Log
- 17:56, 16 March 2020 diff hist +457 N Log Created page with "<c>log(x, base)</c> returns the logarithm (with the given) of the given number, that is, the number y such that base^y = x. === Arguments === {| class="wikitable" |- ! Para..."