Class ScriptCommands
Provides commands for managing scripts within the RisingV Scripting framework.
[CommandGroup("script", "sc")]
public static class ScriptCommands
- Inheritance
-
ScriptCommands
- Inherited Members
Methods
Reload(ChatCommandContext, bool)
Reloads modified scripts or all scripts if specified.
[Command("reload", "rl", "", "Reload modified scripts", null, true)]
public static void Reload(ChatCommandContext ctx, bool all = false)
Parameters
ctx
ChatCommandContextThe context of the chat command, providing access to the command arguments and user information.
all
boolIf true, reloads all scripts; otherwise, reloads only modified scripts.