diff --git a/docs/guide/usage.md b/docs/guide/usage.md index 270bca36..d6dcfaeb 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -570,7 +570,7 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. - Also the instance of MCC is available with `MCC.`. + Also the instance of MCC is available with `MCC`.

Note

@@ -591,14 +591,6 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /execif 'test == "Something"' "send Success!" ``` -

Note

- - **You can use single quote (`'`) to wrap your expression if the expression contains double quote (`"`)** - - **Adding back-slash (`\`) before the double quote will also work (`/execif "test == \"Something\"" "send Success!"`)** - -
- ``` /set test2=1 /execif 'test2 == "1"' "send Success 2!" @@ -622,6 +614,12 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /execif "1 == 1" "execmulti send 1 -> send 2 -> send 3" ``` +- **Note** + + **You can use single quote (`'`) to wrap your expression if the expression contains double quote (`"`)** + + **Adding back-slash (`\`) before the double quote will also work (`/execif "test == \"Something\"" "send Success!"`)** +