What is wrong?
function onSay(cid, words, param)
file = io.open('notice.txt', 'r')
notice = file:read(-1)
doShowTextDialog(cid, 7528, notice)
file:close()
end