Browse Scripts

8 scripts available

Different ways for handling arrays/tables in SE

pshai 👁 1,607 💬 3 Nov 2020

Simple custom command to remove a cell from an array. Usage testample: local testArr1 = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', '...

pshai 👁 1,581 💬 0 May 2020

Creates and returns an ObjectArray Class instance. It has less operations than a normal array, but it can store objects instead of just s...

Firetron 👁 1,569 💬 4 Aug 2020

Simple command to remove value(s) from the array. Usage testample: local testArr1 = {'a', 'a', 'b', 'c', 'a', 'b'} local testArr2 = {1, ...

pshai 👁 1,389 💬 0 May 2020

Grabs a fractional range from an array, list, or table. Custom Command Dependencies: None Test code: if not Load('done', false) then ...

Firetron 👁 1,315 💬 0 Apr 2021

ArrayFilter command that works with numbers and text too. Example of use: -- build test arrays local array1 = {} -- will contain GUID v...

pshai 👁 1,128 💬 0 Aug 2022

This is an example of how to use the loop method 'for key in pairs' on a Lua Array, as well as how to construct an Array manually and how...

Strvinmarvin 👁 1,125 💬 0 Dec 2021

For use where ArrayDistinct() is not available.

Strooth 👁 1,099 💬 0 Dec 2021