$forEach
Will loop over a list and every loop it will take an item and assign it inside varname accessible by $get[varname] or $varname
Usage:
$forEach[varname;LIST (ex: mido rake azz);Separator (Optional, default is space)]Loop Limits
Loops in this function are limited to a certain number of cycles. These limits vary between different tiers of premium.
| Tier | Limit |
|---|---|
| 0 (Free) | 10 |
| 3 (Freemium) | 15 |
| 4 (Pro) | 30 |
| 5 (Ultra) | 60 |
Example:
$forEach[member;Rake, Mido, Mika, Azz, Felix, Flinkz, Wiki, Ddk;, ]
$get[member], is one of our Staff Members!
$endForEach!!exec $forEach[member;Rake, Mido, Azz, Mika, Felix, Flinkz, Wiki, Ddk;, ] $get[member], is one of our Staff Members! $endForEach
Rake, is one of our Staff Members! Mido, is one of our Staff Members! Azz, is one of our Staff Members! Mika, is one of our Staff Members! Felix, is one of our Staff Members! Flinkz, is one of our Staff Members! Wiki, is one of our Staff Members! Ddk, is one of our Staff Members!
This can be used with $seq!
Function difficulty: Difficult
Tags: Loop For Each For Each Object in list
Function Cooldown
This function has built-in cooldown. Why? Read more about cooldowns here.
- Cooldown: 600 μs
- Tracked By: Server
- Type:
awaits
Functions with the same type share cooldowns based on the same Tracked By value.