# substitutedepth
## Syntax:
/substitutedepth **{n}**
## Use Case:
Sets the maximum recursion depth for variable and substitution expansion to prevent infinite loops.
## Arguments:
- **{n}**: The depth limit (default 10).
## Examples:
1. **/substitutedepth {20}**
## See Also:
substitute