$forEach

Will loop over a list and every loop it will take an item and assign it inside varname accessible by $get[varname]

Usage:

$forEach[varname;LIST (ex: mido rake azz);Seperator (Optional, default is space)]

Example:

$forEach[member;Rake, Mido, Mika, Azz, Felix, Flinkz, Wiki, Ddk;, ]
$get[member], is one of our Staff Members!
$endForEach
1
2
3

Member02/03/2022
!!exec $forEach[member;Rake, Mido, Azz, Mika, Felix, Flinkz, Wiki, Ddk;, ]
$get[member], is one of our Staff Members!
$endForEach
Custom Command Bot 02/03/2022
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!

TIP

This can be used with $seq!

Function Difficultly: Difficult
Tags: loop forEach for each object in list