function Trig_Bottles_Of_Beer_2_checkvalue1 takes nothing returns boolean if (not(udg_Bottles > 1)) then return false endif return true endfunction function Trig_Bottles_Of_Beer_2_Actions takes nothing returns nothing set bj_forLoopAIndex = 1 set bj_forLoopAIndexEnd = 99 loop exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd set udg_Bottles = (100 - GetForLoopIndexA()) if (Trig_Bottles_Of_Beer_2_checkvalue1()) then call DisplayTextToForce (GetPlayersAll(), ((("|c00800080" + I2S(udg_Bottles)) + (" Bottles of beer on the wall. "