// 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 init_Test takes nothing returns nothing 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 main takes nothing returns nothing call initGlobals() call init_Test() endfunction function config takes nothing returns nothing endfunction