=[[4rpl:start| Index]]
* [[4rpl:commands:ClearLocals|Locals]]
* [[4rpl:commands:ClearGlobals|Globals]]
====== ClearGlobals ======
===== Syntax =====
ClearGlobals
===== Description =====
Clears all [[4rpl:commands:specialsyntax#global_variables|global variables]]. Global variables persist across script invocations.
This command should be used with caution if multiple CPACKs are in use.
===== Examples =====
1 ->*temp
<-*temp Trace #prints out 1 to the tracelog
ClearGlobals
<-*temp Trace #prints out 0 to the tracelog
~~NOTOC~~