local config = {
rotworms = {pos = {x = 998, y = 993, z = 6}, text = "Rotworms"},
dragonlord = {pos = {x = 998, y = 987, z = 6}, text = "Dragons"},
}
function onThink(interval)
local people = Game.getPlayers()
if #people == 0 then
return true
end
for _, info in pairs(config) do
doCreatureSay(people[1], info.text, TALKTYPE_MONSTER_SAY, false, 0, info.pos)
end
return true
end