// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing local integer array a call initGlobals() set a[0] = 1 set a[1] = 2 set a[2] = 3 if a[1] == 2 then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction