function onSay(cid, words, param, channel)
local present = 2268 -- sd id
local cost = 7000 -- 7000 gp
local container = 2001 -- bp id
if doPlayerRemoveMoney(cid, cost) == TRUE then
local container = doPlayerAddItem(cid, container, 1)
for i = 1, 20 do
doAddContainerItem(container, present, 1)
end
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_SMALL, "You do not have enough money.")
end
return TRUE
end