Table of Contents

Class ScriptCommands

Namespace
RisingV.Scripting.Commands
Assembly
RisingV.Scripting.dll

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 ChatCommandContext

The context of the chat command, providing access to the command arguments and user information.

all bool

If true, reloads all scripts; otherwise, reloads only modified scripts.