@@ -105,12 +105,12 @@ Commands can be separated into categories:
- Mouse move commands
- Mouse drag commands
- Commands that take arguments
- Type <text> commands
- Hold key for {time} commands
- Type <text> commands
- Hold key for {time} commands
- Misc commands
- !modalert
- go to <x><y>
- gtype <text> (uses pydirectinput to type for greater video game compatability)
- !modalert
- go to <x><y>
- gtype <text> (uses pydirectinput to type for greater video game compatability)
- Commands that any viewers can run
- Commands that are exclusive to certain users
...
...
@@ -152,6 +152,19 @@ To run the script follow the instructions in projects [readme](https://gitlab.co
See the available start up [flags](documentation/script#cli-flags for the script.
## Exit codes
- TwitchPlays.py
- 0: Success
- 1: No oauth key or username
- 2: Stopped by cmpc script key
- 3: Stopped by moderator with runtime id
- create_empty_config.py
- 0: Success
- 1: `config.example.toml` does not exist
- 2: `config.toml` exists and overwrite is off
## (legacy) how to set environment variables
**Important note: environment varaibles were removed in [3.7](https://gitlab.com/controlmypc/TwitchPlays/-/releases#370-2020-12-04), please use `config.toml` instead.**