Command
command ,
part
Command
Allows you to run console commands.
Location
This part can be found under:
- Advanced > Command
You can easily find it by clicking on the sign and typing command .
Usage & Examples
Basic Command
Add the Command part to your outfit and type the command in the string field.
Chat message on button press
Commands can be combined with Events . This example sends a chat message after pressing a button.
Download: command_chat.txt
Properties
Generic
string
The command that you want to run.
use lua
Runs the string as client side Lua.
Requires sv_allowcslua 1
execute on wear
â
execute on show
Triggers when the part is shown. Required when used with events.
name
Custom name of the command that will be displayed in the editor. Helps with organization. You should probably keep it unique to avoid conflicts.
hide
Hides (disables) the command. All children are hidden as well.
Orientation
parent name
Parent of the command. Click on 1) to select.
1)
Right Click on to list all available options.