function onSay(cid, words, param, channel)
local method= (words == "!mp")
local checked = method and "mana" or "health"
local now,max = method and getCreatureMana(cid) or getCreatureHealth(cid), method and getCreatureMaxMana(cid) or getCreatureMaxHealth(cid)
doPlayerSendTextMessage(cid,MESSAGE_TYPES["orange"],"Current "..checked.." = "..now.."/"..max.."\n\n ".. checked:gsub("^%l", string.upper).." percent = " ..math.floor((now/max)*100) .."%")
return true
end