Haven't really messed with our Lua that much, but try this:
Code:
function event_say(e)
local myid = e.other:GetID();
if(e.message:findi("hail")) then
e.self:Say("Welcome, do you want some [" .. eq.say_link("buffs",false,"buffs") .. "]?");
elseif (e.message:findi("buffs")) then
e.self:CastSpell(18323, myid);
end
end