Custom Command
FunctionsArray Functions

$arrayFilter

Iterates through each element in an array. If the code returns false, the element will be removed from the array.

Warning

Only zero-cooldown functions are allowed in the CODE section! Functions that have a cooldown will be skipped, even in Tier 3+.

For example, if your loop contains $sendMessage[Hello world!], it will literally display as "$sendMessage[Hello world!]" because $sendMessage is not a zero-cooldown function.

If you are looking to loop over non-zero cooldown functions, you should use $forEach instead.

Usage

$arrayFilter[Element Value;Element Index;array name]{
CODE...
}

Loop Limits

Array loops are limited to a certain number of cycles. These limits vary between different tiers of premium.

TierLimit
0 (Free)50
3 (Freemium)50
4 (Pro)100
5 (Ultra)150

Example (Remove Hello):

Member
9/5/2026

!!exec $textSplit[Hello/World;/] $arrayFilter[value]{     $if[$value==Hello]{      false     } } $arrayJoin[/]

Custom Command
APP
9/5/2026

World

On this page