ScriptCommand

ScriptCommand command

Executes <CommandString> as a game-mode-specific command or script, which mod authors can implement; no official game modes currently use custom scripts. For example, 'cheat scriptcommand givetrait inheritmeleemutable[0]' adds a trait to your equipped Gene Scanner for the creature type you are looking at.

Argument information
  • <Command String>type: text

    The command string to run.

Command builder

Command String

Examples

This command executes the givetrait inheritmeleemutable[0] script, adding a trait to your equipped Gene Scanner for the creature type you are looking at. No official game modes currently use custom scripts, so this is mainly useful with mods that implement them.

Using cheats on a server

On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.