diff --git a/Scripting.md b/Scripting.md index 7410946..7b2f45e 100644 --- a/Scripting.md +++ b/Scripting.md @@ -82,7 +82,7 @@ As you can see the frequency at which this condition returns true depends on the Registering an action would be identical to the example above, but instead of passing a function which returns a boolean value to `advss_register_condition`, you would pass a function performing your desired actions to `advss_register_action`. -The boilerplate code mentioned above can be found [here](https://github.com/WarmUpTill/SceneSwitcher/blob/master/scripting/examples.py#L115-L305). +The boilerplate code mentioned above can be found here for [Python](https://github.com/WarmUpTill/SceneSwitcher/blob/master/scripting/examples.py#L115-L305) and [Lua](https://github.com/WarmUpTill/SceneSwitcher/blob/master/scripting/examples.lua#L111-L283). Usually you can just copy it directly into your script without any modifications. Note that if you should choose to unload the scripts, which define custom macro segments, while custom macro segments are still in use, the plugin will no longer be able to query settings of those custom macro segments.