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/30 02:46] – File extension mention Vertu4rpl:commands:setregisteredscriptvar [2025/02/14 14:57] (current) – external edit 127.0.0.1
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: 2025/02/14 14:56 (external edit)