Changes
Page history
Update Bar Progress Condition
authored
Apr 06, 2021
by
Ethan
Show whitespace changes
Inline
Side-by-side
Bar-Progress-Condition.md
View page @
8b7b0024
...
@@ -5,11 +5,11 @@ Uses the bar progress to make a condition.
...
@@ -5,11 +5,11 @@ Uses the bar progress to make a condition.
| Parameter | Aliases | Description | Type |
| Parameter | Aliases | Description | Type |
| ------ | ------ | ------ | ------ |
| ------ | ------ | ------ | ------ |
|
`value`
|
`v`
| The value to compare with the bar's coefficient. Takes a decimal like 0.5 which would be equivalent to 50%. | Number |
|
`value`
|
`v`
| The value to compare with the bar's coefficient. Takes a decimal like 0.5 which would be equivalent to 50%. | Number |
|
`operator`
|
`o, oper`
| The operation to compare the
`value`
parameter to the bar's coefficient. | String
(
`greater, g, less, l, equal, e
`
) |
|
`operator`
|
`o, oper`
| The operation to compare the
`value`
parameter to the bar's coefficient. | String
`
(
greater, g, less, l, equal, e)
`
|
## Examples
## Examples
```
```
conditions:
conditions:
- 'bar-progress{v=1;o
per=less
;m=true}'
- 'bar-progress{v=1;o
=l
;m=true}'
- 'bar-progress{v=0;o
per=greater
;m=true}'
- 'bar-progress{v=0;o
=g
;m=true}'
```
```
\ No newline at end of file