Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions streamerbot/2.guide/03.variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ Fetches the value of the argument named by `parse`'s parameter, which itself can
// Same results as %user%
$parse(user)$

// First, Set Argument %i% to 1
// First, Set Argument %i% to 0
$parse(line%i%)$
// ==> returns value of %line1% (the first line of the file)
// ==> returns value of %line0% (the first line of the file)

// Set Argument %i% to $math(%i%+1)$ (i.e., 2)
// Set Argument %i% to $math(%i% + 1)$ (i.e., 1)
$parse(line%i%)$
// ==> returns value of %line2% (the second line of the file)
// ==> returns value of %line1% (the second line of the file)
```
::tip
`%arguments%` and `~persistedVariables~` will be parsed in `parse`'s parameter, but not other `$inline()$` functions. If you wish to use a function, then set another argument to the output of the function, and use that argument in the `parse` instead.
Expand Down
Loading