User Tools

Site Tools


4rpl:commands:setregisteredscriptvar

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:setregisteredscriptvar [2024/10/29 22:46] – File extension mention Vertu4rpl:commands:setregisteredscriptvar [2024/11/02 17:52] (current) – Fixed typo and reverted to previous version (.4rpl directory not needed) Vertu
Line 10: Line 10:
 :!: Available in version 1.3 and later. :!: Available in version 1.3 and later.
 ====== SetRegisteredScriptVar====== ====== SetRegisteredScriptVar======
-SetRegisteredScriptVar(<-RegisteredScriptName <-varName <-varValue+SetRegisteredScriptVar(<-RegisteredScriptName <-varName <-varValue)
  
 ===== Description ===== ===== Description =====
-Sets the named variable on the specified registered script. If the registered script not exist, this call has no effect.\\ +Sets the named variable on the specified registered script. If the registered script not exist, this call has no effect.
-RegisteredScriptName must include the file extension (.4rpl).+
                          
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
-SetRegisteredScriptVar("MyScript.4rpl" "testVar" V4(1 2 3 4))+SetRegisteredScriptVar("MyScript" "varName" V4(1 2 3 4))
 </code> </code>
  
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
4rpl/commands/setregisteredscriptvar.1730256383.txt.gz · Last modified: 2024/10/29 22:46 by Vertu