Custom Command
FunctionsObject Functions

$objectLoop

To loop over an object

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

$objectLoop[key name;value name;index name;Nested Prroperty 1;Nested Property 2;...]{
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:

!!exec $objectSet[Mido;Sword]
$objectSet[Rake;Staff]
$objectLoop[name;weapon;index]{
$index. $name has $weapon
}

  1. Mido has Sword
    2. Rake has Staff

On this page