$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
Tips
This can be used with $seq!
Function difficulty Difficult
Tags: loop forEach 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.