function onSay(cid, words, param)
local t = param:lower()
if (param == "") then
doPlayerSendCancel(cid, "invalid") return true
end
local id = getPlayerGUIDByName(t)
if not id then
doPlayerSendCancel(cid, "Sorry, player [" .. t .. "] does exist.") return true
end
local offline = getPlayerGuildId(id) -- player offline
...
return true
end