Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old 07-30-2015, 04:14 AM
Rabuk
Fire Beetle
 
Join Date: Jul 2015
Posts: 14
Default

Hello,
will check it out later when iam back home from work.

I wonder why i did use CastToClient instead of CastSpell.
Ofcourse it was to later yesterday. haha
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:02 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3