# cycle
## Syntax:
/cycle **{target}** **{command}**
## Use Case:
Cycles the execution of a command through a list of active sessions, targeting one session at a time sequentially. Subsequent invocations advance the active index.
## Arguments:
- **{target}**: A group expression specifying the group of sessions to cycle the command through.
- **{command}**: The command text to be executed in the selected target session.
## Group Math:
The target group of sessions is resolved left-to-right using group expressions (see `/delegate` for full details on union and subtraction math). 
Each time the `/cycle` command is called for a specific group expression, the system executes the command on the next target session in round-robin fashion, wrapping around to the first session once the list is exhausted.
## Examples:
1. **/cycle tanks assist**
   Sends `assist` to the first tank. Running it again will send `assist` to the second tank, and so on.
2. **/cycle healers-Jimmy cure**
   Cycles through all members of the `healers` group, excluding the session `Jimmy`.
## See Also:
delegate, delegation, sendall, sendothers
