tenta isso:
talkactions\scripts\skillcheck.lua
function onSay(cid, words, param)
x = 0
y = ""
if words == "!magic" then
x = getPlayerMagLevel(cid)
y = "Magic Level"
end
elseif words == "!fist" then
x = getPlayerSkill(cid, 0)
y = "Fist Fighting"
end
elseif words == "!club" then
x = getPlayerSkill(cid, 1)
y = "Club Fighting"
end
elseif words == "!sword" then
x = getPlayerSkill(cid, 2)
y = "Sword Fighting"
end
elseif words == "!axe" then
x = getPlayerSkill(cid, 3)
y = "Axe Fighting"
end
elseif words == "!distance" then
x = getPlayerSkill(cid, 4)
y = "Distance Fighting"
end
elseif words == "!shielding" then
x = getPlayerSkill(cid, 5)
y = "Shielding"
end
elseif words == "!fishing" then
x = getPlayerSkill(cid, 6)
y = "Fishing"
end
doPlayerPopupFYI(cid, y .. ": " .. x)
end
talkactions\talkactions.xml
<talkaction words="!magic;!fist;!club;!sword;!axe;!distance;!shielding;!fishing" script="skillcheck.lua"/>