1. Wiki
  2. /Commands
  3. //script

/script

Put commands in your add-on as functions: GodCraft writes and packs them for you.Get GodCraft

/script: Connects or disconnects the script debugger, and other script tools.

Syntax

<angle brackets> are required, [square brackets] optional. /script has 7 forms:

/script <mode: scriptdebugmodedebugger> <action: scriptdebuggerlisten> <port: int>
/script <mode: scriptdebugmodedebugger> <action: scriptdebuggerconnect> [host: id] [port: int]
/script <mode: scriptdebugmodedebugger> <action: scriptdebuggerclose>
/script <mode: scriptdebugmodeprofiler> <action: scriptprofilerstart>
/script <mode: scriptdebugmodeprofiler> <action: scriptprofilerstop>
/script <mode: scriptdebugmodediagnostics> <action: scriptdiagnosticsstartcapture>
/script <mode: scriptdebugmodediagnostics> <action: scriptdiagnosticsstopcapture>

Commands: Commands

We use cookies to improve your experience and analyse site traffic. Learn more