thomas_miller_AI = Mango.AIScripts.Create('thomas_miller_AI'); function thomas_miller_AI.Init(LuaAI) thomas_miller_AI.DoShout(LuaAI) LuaAI:SetUpdateInterval(8000) return true end function thomas_miller_AI.DoShout(LuaAI) local text = { "MOEP" , "Lecki" , "Lutschi" , "BOEP" }; local i = 1 while i <= text[i] do i = i + 1 i = rand_range(1,i) LuaAI:DoSay(text[i], 0) end thomas_miller_AI.Init(LuaAI) LuaAI:SetUpdateInterval(8000) return true end function thomas_miller_AI.Update(LuaAI) thomas_miller_AI.DoShout(LuaAI) end