streamer.bot custom code - Allows users to type !madness to launch an exe on the hosts system.
- Open streamer.bot
- Left Click the Actions tab
- Right Click the box in actions and click Add
- Choose a name for the action such as !madness
- Right Click in "Sub-Actions" then choose "Core/C#/Execute C# Code"
- Paste the code into the box
- Left Click the "References" Tab towards the bottom
- Right Click the window and Left Click "Add reference from file..." Add system.dll here. (e.g. c:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.dll)
- Left Click "Save and Compile"
You may now assign this action to any trigger available. (e.g. Actions, Hot Keys, etc.)