// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals code ref_function_code__foo_test=null endglobals native testSuccess takes nothing returns nothing function code__foo_test takes nothing returns nothing call testSuccess() endfunction function initGlobals takes nothing returns nothing set ref_function_code__foo_test = function code__foo_test endfunction function main takes nothing returns nothing local code c local trigger t call initGlobals() set c = ref_function_code__foo_test set t = CreateTrigger() call TriggerAddAction(t, c) call TriggerEvaluate(t) endfunction function config takes nothing returns nothing endfunction