// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals integer Test_x=0 endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing call initGlobals() set Test_x = 100 loop exitwhen not (Test_x > 0) if Test_x == 50 then exitwhen true endif if Test_x == 101 then exitwhen true endif set Test_x = Test_x - 1 endloop call testSuccess() endfunction function config takes nothing returns nothing endfunction