View Single Post
  #2  
Old 07-30-2015, 02:00 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,604
Default

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
Reply With Quote