system_script environment variable - VanaDev/Vana GitHub Wiki
Script Type(s): All Scripts
Category: Environment Variables
API Version(s): 1.0.0 to current
Type: string
Notes: Contains the file name of the executing script. For example, if the full URI is /scripts/npc/levelUP.lua, the system_script value will be levelUP.lua.