From 3ec98ea39102d6d97f9503de45da9eb6b32ed5ca Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Tue, 2 Jul 2024 11:55:34 +0100 Subject: [PATCH] add note about += and -= to README add increment/decrement instructions to example_commands --- README.md | 2 +- example_commands.txt | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 17fcb56..e46e28a 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Where: ## `API Commands` - Commands starting with `!` will be toggled, use it with boolean parameters. -- Commands containing `=` will set a value. +- Commands containing `=` will set a value. (use `+=` and `-=` to increment/decrement) - All other commands with get a value. Examples: diff --git a/example_commands.txt b/example_commands.txt index a5a6d85..df98f29 100644 --- a/example_commands.txt +++ b/example_commands.txt @@ -1,3 +1,5 @@ strip[0].mute !strip[0].mute strip[0].mute strip[0].gain strip[0].label=podmic strip[0].label -strip[1].mute=1 strip[1].mute -bus[0].label bus[0].gain=-8.3 \ No newline at end of file +strip[1].mute=1 strip[1].mute strip[1].limit-=8 +strip[2].gain-=5 strip[2].comp+=4.8 +bus[0].label +bus[1].gain-=5.8 \ No newline at end of file