All public logs

Jump to navigation Jump to search

Combined display of all available logs of MiniScript Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 23:05, 1 April 2020 71.226.33.30 talk created page Sound.loop (Created page with "<c>Sound.loop</c> controls whether a sound will play just once (false) or will repeat indefinitely (true) when played with Sound.play. <ms>s = file.loadSound("/sys/so...")
  • 23:03, 1 April 2020 71.226.33.30 talk created page Sound.mix (Created page with "<c>Sound.mix</c> mixes another synthesized sound into this one, producing a more complex sound. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! De...")
  • 23:00, 1 April 2020 71.226.33.30 talk created page Sound.stop (Created page with "<c>Sound.stop</c> stops this sound if it is currently playing. == Example == <ms>s = file.loadSound("/sys/sounds/bonus.wav") s.loop = true s.play; key.get; s.stop</ms> Ca...")
  • 22:57, 1 April 2020 71.226.33.30 talk created page Sound.play (Created page with "<c>Sound.play</c> plays a sound. Call this on a Sound object initialized either Sound.init, or loaded via file.loadSound. === Arguments === {| class="wikitable" |- ! Param...")
  • 22:48, 1 April 2020 71.226.33.30 talk created page Sound.init (Created page with "<c>Sound.init</c> synthesizes a sound from various parameters, including look-up tables that represent one cycle of the waveform and the volume envelope. === Usage Notes...")
  • 22:45, 1 April 2020 71.226.33.30 talk created page Sound.stopAll (Created page with "<c>Sound.stopAll</c> stops all currently playing sounds. Category:Mini Micro")
  • 22:44, 1 April 2020 71.226.33.30 talk created page Sound.nosieWave (Created page with "<c>Sound.noiseWave</c> returns a collection of random values. === Usage Notes === For use with the ''waveform'' parameter of Sound.init. These will approximate white...")
  • 22:43, 1 April 2020 71.226.33.30 talk created page Sound.noiseWave (Created page with "<c>Sound.noiseWave</c> returns a collection of random values. === Usage Notes === For use with the ''waveform'' parameter of Sound.init. This produces a slightly buzz...")
  • 22:42, 1 April 2020 71.226.33.30 talk created page Sound.sawtoothWave (Created page with "<c>Sound.sawtoothWave</c> returns a 128-element list approximating a sawtooth wave. === Usage Notes === For use with the ''waveform'' parameter of Sound.init. This pr...")
  • 22:40, 1 April 2020 71.226.33.30 talk created page Sound.triangleWave (Created page with "<c>Sound.triangleWave</c> returns a 128-element list approximating a triangle wave. === Usage Notes === For use with the ''waveform'' parameter of Sound.init. This produc...")
  • 22:39, 1 April 2020 71.226.33.30 talk created page Sound.squareWave (Created page with "<c>Sound.squareWave</c> returns a 128-element list approximating a square wave. === Usage Notes === For use with the ''waveform'' parameter of Sound.init. This produc...")
  • 22:37, 1 April 2020 71.226.33.30 talk created page Sound.sineWave (Created page with "<c>Sound.sineWave</c> returns a 128-element list approximating a sine wave. === Usage Notes === <c>Sound.sineWave</c> produces a smooth, pure tone. Category:Mini M...")
  • 22:35, 1 April 2020 71.226.33.30 talk created page Image.getImage (Created page with "<c>Image.getImage</c> returns a rectangular portion of the image as a new image. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Mean...")
  • 22:30, 1 April 2020 71.226.33.30 talk created page Image.setPixel (Created page with "<c>Image.setPixel</c> sets the color of a specific pixel in the image. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meaning |- | '...")
  • 22:29, 1 April 2020 71.226.33.30 talk created page Image.pixel (Created page with "<c>Image.pixel</c> returns the color of a specific pixel in the image. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meaning |- | ''...")
  • 22:24, 1 April 2020 71.226.33.30 talk created page RawData.length (Created page with "<c>Image.width</c> returns the width of the image, in pixels. (Read-only.) == Example == <ms>img = file.loadImage("/sys/pics/Dart.png")</ms> Category:Mini Micro")
  • 22:17, 1 April 2020 71.226.33.30 talk created page TextDisplay.print (Created page with "<c>TextDisplay.print</c> prints a given string to this text display, followed by whatever TextDisplay.delimiter contains. === Arguments === {| class="wikitable" |- ! Pa...")
  • 22:14, 1 April 2020 71.226.33.30 talk created page TextDisplay.setCellBackColor (Created page with "<c>TextDisplay.setCellBackColor</c> changes the background color of the given cell. See also: TextDisplay.cellBackColor === Arguments === {| class="wikitable" |- ! Para...")
  • 22:11, 1 April 2020 71.226.33.30 talk created page TextDisplay.cellBackColor (Created page with "<c>TextDisplay.cellBackColor</c> returns the background color of the given cell. See also: TextDisplay.setCellBackColor === Arguments === {| class="wikitable" |- ! Par...")
  • 22:09, 1 April 2020 71.226.33.30 talk created page TextDisplay.setCellColor (Created page with "<c>TextDisplay.setCellColor</c> changes the foreground color of the given cell. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meani...")
  • 22:06, 1 April 2020 71.226.33.30 talk created page TextDisplay.cellColor (Created page with "<c>TextDisplay.cellColor</c> returns the foreground color of the given cell. See also: TextDisplay.setCellColor === Arguments === {| class="wikitable" |- ! Parameter Na...")
  • 22:04, 1 April 2020 71.226.33.30 talk created page TextDisplay.setCell (Created page with "<c>TextDisplay.setCell</c> Directly sets a character into a given row and column of the text display. This does not use (or change) the cursor position, nor does it apply the...")
  • 21:59, 1 April 2020 71.226.33.30 talk created page TextDisplay.cell (Created page with "<c>TextDisplay.cell</c> returns the character stored at a given row and column of the text display. See also: TextDisplay.setCell === Arguments === {| class="wikitable"...")
  • 21:57, 1 April 2020 71.226.33.30 talk created page TextDisplay.delimiter (Created page with "<c>TextDisplay.delimiter</c>: This value is a string which is printed after every print output. === Usage Notes === Its default value is char(13), which is a carriage ret...")
  • 21:54, 1 April 2020 71.226.33.30 talk created page TextDisplay.inverse (Created page with "<c>TextDisplay.inverse</c> gets or sets whether subsequent printing should be done in "inverse" mode, where the foreground and background colors are swapped. === Usage Notes...")
  • 21:53, 1 April 2020 71.226.33.30 talk created page TextDisplay.row (Created page with "<c>TextDisplay.row</c> gets or sets the row of the text cursor, where subsequent printing will begin. Row values range from 0 at the bottom of the screen, to 25 at the top....")
  • 21:52, 1 April 2020 71.226.33.30 talk created page TextDisplay.column (Created page with "<c>TextDisplay.column</c> gets or sets the column of the text cursor, where subsequent printing will begin. Column values range from 0 on the left to 67 on the right. == Exa...")
  • 21:51, 1 April 2020 71.226.33.30 talk created page TextDisplay.backColor (Created page with "<c>TextDisplay.backColor</c> gets or sets the background color used on any future printing to this text display. This is the surrounding color for normal text, or the text co...")
  • 21:50, 1 April 2020 71.226.33.30 talk created page TextDisplay.color (Created page with "<c>TextDisplay.color</c> gets or sets the foreground color used on any future printing to this text display. This is the text color for normal text, or the surrounding color...")
  • 21:48, 1 April 2020 71.226.33.30 talk created page TextDisplay.clear (Created page with "<c>TextDisplay.clear</c> clears the text display, setting all cells to " " (space), with inverse turned off and all cell colors set to the match the display properties. === U...")
  • 21:46, 1 April 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 ==...")
  • 15:40, 24 March 2020 71.226.33.30 talk created page Intrinsic (Created page with "<c>mouse.button</c> returns true (1), if the given mouse/trackpad button is currently pressed, or false (0) otherwise. === Usage Notes === Button 0 is the main/left mouse but...")
  • 15:37, 24 March 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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:26, 24 March 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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:47, 23 March 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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...")
  • 15:47, 18 March 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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...")
  • 16:26, 17 March 2020 71.226.33.30 talk created page 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 |- | '...")
  • 16:24, 17 March 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 |} ==...")
  • 16:20, 17 March 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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:02, 17 March 2020 71.226.33.30 talk created page 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:00, 17 March 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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...")
  • 15:43, 17 March 2020 71.226.33.30 talk created page 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...")
  • 15:35, 17 March 2020 71.226.33.30 talk created page 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...")
  • 15:33, 17 March 2020 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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 71.226.33.30 talk created page 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...")
  • 17:56, 16 March 2020 71.226.33.30 talk created page Log(x, base) (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...")
  • 17:52, 16 March 2020 71.226.33.30 talk created page List type (Created page with "<c>list type</c> returns a map that represents the list datatype in MiniScript's core type system. See also: number, string, map, funcRef === Arguments ===...")
  • 17:48, 16 March 2020 71.226.33.30 talk created page Self.len (Created page with "<c>self.len</c> returns the number of characters in a string, elements in a list, or key/value pairs in a map. May be called with function syntax or dot syntax. === Argument...")
  • 17:46, 16 March 2020 71.226.33.30 talk created page Self.join (Created page with "<c>self.join</c> joins the elements of a list together to form a string. See also: split === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !!...")
  • 17:42, 16 March 2020 71.226.33.30 talk created page Insert (Created page with "<c>insert</c> inserts a new element into a string or list. See also: remove === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- |...")
  • 17:38, 16 March 2020 71.226.33.30 talk created page Indexof (Created page with "<c>indexOf</c> returns index or key of the given value, or if not found. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''self''...")
  • 17:34, 16 March 2020 71.226.33.30 talk created page HashIndex (Created page with "<c>hashIndex</c> return whether the given index is valid for this object, that is, whether it could be used with square brackets to get some value from self. See also: In...")
  • 17:31, 16 March 2020 71.226.33.30 talk created page Indexes (Created page with "<c>indexes</c> Returns the keys of a dictionary, or the non-negative indexes for a string or list. See also hasIndex === Arguments === {| class="wikitable" |- ! Paramet...")
  • 17:28, 16 March 2020 71.226.33.30 talk created page Hashindex (Created page with "<c>hashIndex</c> return whether the given index is valid for this object, that is, whether it could be used with square brackets to get some value from self. See also: In...")
  • 17:22, 16 March 2020 71.226.33.30 talk created page Hash (Created page with "<c>hash</c> Returns an integer that is "relatively unique" to the given value.In the case of strings, the hash is case-sensitive. In the case of a list or map, the hash combi...")
  • 17:18, 16 March 2020 71.226.33.30 talk created page FuncRef (Created page with "<c>funcRef</c> Returns a map that represents a function reference in MiniScript's core type system. This can be used with `isa` to check whether a variable refers to a functi...")
  • 16:53, 16 March 2020 71.226.33.30 talk created page Floor (Created page with "<c>floor</c> Returns the "floor", i.e. closest whole number less than or equal to the given number. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Val...")
  • 16:48, 16 March 2020 71.226.33.30 talk created page Cos (Created page with "<c>cos</c> Returns the cosine of the given angle (in radians). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''radians'' || nu...")