~~NOTOC~~ <=[[4rpl:start| Index]] \\ <= [[4rpl:start#Messaging]] * [[4rpl:commands:getregisteredscriptvar|Get]] * [[4rpl:commands:setregisteredscriptvar|Set]] :!: Available in version 1.3 and later. ====== GetRegisteredScriptVar====== GetRegisteredScriptVar(<-RegisteredScriptName <-varName) ->val ===== Description ===== Gets the named variable on the specified registered script. The value returned will be a direct instance of the var held by registered script instance. If the registered script not exist, a null value (equivalent to 0) is returned. ===== Examples ===== GetRegisteredScriptVar("MyScript" "test") ->val === See Also === [[RegisterScript]] <=[[4rpl:start| Index]]