User Tools

Site Tools


prpl:clearglobals

Differences

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

Link to this comparison view

Next revision
Previous revision
prpl:clearglobals [2016/12/02 18:33] – external edit 127.0.0.1prpl:clearglobals [2017/09/23 05:53] (current) – added syntax highlighting kajacx
Line 1: Line 1:
 <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]
  
-=====  CLEARGLOBALS  =====+=====  ClearGlobals  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
Line 8: Line 8:
  
 === Description === === Description ===
 +Clear all global variables. Global variables can be accessed from any script on the map.
  
 === Examples === === Examples ===
-<code></code>+<code prpl> 
 +"SET" ->*ThisIsAGlobal 
 +<-*ThisIsAGlobal Trace 
 +#Printed "SET" to the trace 
 +ClearGlobals 
 +<-*ThisIsAGlobal Trace 
 +#Printed "" to the trace 
 +</code>
  
prpl/clearglobals.1480721630.txt.gz · Last modified: 2016/12/15 17:31 (external edit)