Interpreter Variable System
Local Variables
Global Variables
@Init
Set("playerHealth", 100)
SetGlobal("difficulty", "Normal")
Log("Local Health: {0}", Get("playerHealth"))
Log("Global Difficulty: {0}", GetGlobal("difficulty"))
Goto("Combat")
@Combat
Set("playerHealth", SubtractInt(Get("playerHealth"), 20))
Log("After damage, Health: {0}", Get("playerHealth"))
Save and Load
Last updated