All pastes #412229 Raw Edit

Someone

public text v1 · immutable
#412229 ·published 2007-03-27 15:59 UTC
rendered paste body
thomas_miller_AI = Mango.AIScripts.Create('thomas_miller_AI');

function thomas_miller_AI.Init(LuaAI)
	
        thomas_miller_AI.DoShout(LuaAI)
	LuaAI:SetUpdateInterval(150000)

	return true
end

function thomas_miller_AI.doShout(LuaAI)
        local txt = { "Frisch gebackenes Brot zu verkaufen!", "Frisch gebackenes Brot zu verkaufen!"}
	local randn = rand_range(1,2)
	LuaAI:DoSay(txt[randn],0)
end

         function thomas_miller_AI.Init(LuaAI)
         LuaAI:SetUpdateInterval(300000)

         return true

end

function thomas_miller_AI.Update(LuaAI)
	
	thomas_miller_AI.DoShout(LuaAI)
end