Changelog
- Added support for custom variables
Custom variables
Database
In database, you add your custom variables with ${number}
, so for example Howdy ${1} how are you doing?
There can be unlimited amount of variables and can be placed in any order.
URL
You can add custom variables by adding params[]
parameter to your query.
Calling patterns
After you have successfully added pattern to your database, you can add command to StreamElements following this example:
${customapi.example.com/selevelcommands/api/chat.php?key=75fBu4EP4U2YTTbh&pattern=jNACabNDNA&level=${sender.level}}