function onSay(cid, words, param, channel)
local moneyReq = 1000
if param == "yalaharian good" then
if getPlayerMoney(cid) >= moneyReq then
doPlayerAddOutfit(cid, 324, 3)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_BLUE)
doPlayerSendTextMessage(cid, 22, "You have been added " .. param .. " full outfit.")
else
doPlayerSendCancel(cid, "You Need "..moneyReq.."gp.")
end
elseif param == "yalaharian evil" then
if getPlayerMoney(cid) >= moneyReq then
doPlayerAddOutfit(cid, 325, 3)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_RED)
doPlayerSendTextMessage(cid, 22, "You have been added " .. param .. " full outfit.")
else
doPlayerSendCancel(cid, "Your Need "..moneyReq.."gp.")
end
end
else
doPlayerSendTextMessage(cid, 22, "You need ...")
end
return TRUE
end