function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
local split = param:split(",")
if split[2] == nil then
player:sendCancelMessage("Insufficient parameters.")
return false
end
local target = Player(split[1])
if target == nil then
player:sendCancelMessage("A player with that name is not online.")
return false
end
local expgain = tonumber(split[2])
if expgain >= 1 then
target:addExperience(expgain)
else
player:sendCancelMessage("You have specified an invalid experience amount.")
end
return false
end