local config = {
positions = {
["Welcome"] = { x = 1997, y = 1999, z = 7 },
["Training"] = { x = 2005, y = 1998, z = 7 },
["Quests"] = { x = 2006, y = 1998, z = 7 },
["Item Room"] = { x = 2007, y = 1998, z = 7 },
["Donations"] = { x = 2005, y = 2001, z = 7 },
["Back"] = { x = 1866, y = 2204, z = 7 },
["Castles"] = { x = 1998, y = 2003, z = 6 },
["NPCs"] = { x = 2006, y = 2001, z = 7 }
},
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendMagicEffect(pos, math.random(67))
doSendAnimatedText(pos, text, math.random(255))
end
return TRUE
end