diff --git a/streamerbot/3.api/3.csharp/_methods/core/actions/RunAction.md b/streamerbot/3.api/3.csharp/_methods/core/actions/RunAction.md index 6201feba..d4f52bd4 100644 --- a/streamerbot/3.api/3.csharp/_methods/core/actions/RunAction.md +++ b/streamerbot/3.api/3.csharp/_methods/core/actions/RunAction.md @@ -1,21 +1,24 @@ --- -description: Run an action, by name
Returns a boolean indicating whether the operation was successful. +description: | + Run an action, by name + + Returns a boolean indicating whether the operation was successful. example: | using System; public class CPHInline { public bool Execute() { - //Specify name of action you want to run + // Specify name of action you want to run string actionName = "Streamer.bot Docs Action"; - - //Run Action (in current queue) + + // Run Action (in current queue) CPH.RunAction(actionName); CPH.RunAction(actionName, true); - - //Run Action in it's own queue + + // Run Action in it's own queue CPH.RunAction(actionName, false); - + return true; } }