local focus = 0
local talk_start = 0
local target = 0
local following = false
local attacking = false
lastSay = 0
local message = "Zapraszamy na nasz drugi serwer 8.42, ktory posiada rl mape. Znajdziecie go na: http://realot.noveriaots.pl/"
local typ = MESSAGE_STATUS_WARNING
local coIleSekund = 900
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
end
function onCreatureTurn(creature)
end
function msgcontains(txt, str)
return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end
function onCreatureSay(cid, type, msg)
msg = string.lower(msg)
end
function onCreatureChangeOutfit(creature)
end
function onThink()
if (os.time() >= lastSay) then
lastSay = os.time()+coIleSekund
doBroadcastMessage(message)
end
end