Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
powerscript_extendscript_actions [2021/09/04 03:29] – [Debugging] o2wikipowerscript_extendscript_actions [2021/09/08 07:45] (current) – [Default Command List] o2wiki
Line 282: Line 282:
 ----------- -----------
  
 +===  [resetSettings] ===
 +LoReloads the default settings for the loaded PowerScript (As if it was first loaded)
 +
 +**Parameters**
 +  * scriptID:  (not required)
 +  * data: (not required)
 +
 +**Callback Return value**
 +<code>
 +   object {
 +         success: bool,      // false: no script loaded 
 +         ready:  bool,    // script loaded and ready to run commands
 +         alreadyLoaded:  // true if script was already loaded (will always return false as its was reloaded) 
 +     }
 +</code>
 +
 +-----------
  
 ===  [getActions] === ===  [getActions] ===