Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #16  
Old 01-14-2010, 04:43 PM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

there we go sorry
Reply With Quote
  #17  
Old 01-14-2010, 04:54 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

you can't have Buff and then Buffs but you might be able to have Buffs and then Buff as text checking.
Reply With Quote
  #18  
Old 01-14-2010, 05:11 PM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

i changed it from buffs to donator and still isnt working
Reply With Quote
  #19  
Old 01-14-2010, 05:13 PM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

Code:
sub EVENT_SAY 
{
    if ($text =~/Hail/i)
    {
        quest::say ("Welcome to Citadel Of the Warlord , $name. Would you like me to [Scribe] your spells? Maybe you would like Your (Meditate) skill, Or maybe your a (Bard) or would you like [buffs] or do you just need a small [heal] to save your butt");
    }
    if ($text =~/Heal/i)
    {
        quest::say("Good, stand where you are while I cast");
        quest::selfcast(13);
    }
    if ($text =~/Buff/i)
    {
        if ($ulevel <= 46)
        {
            quest::say("Good, stand where you are while I cast");
            quest::selfcast(278);
            quest::selfcast(10);
            quest::selfcast(174);
            quest::selfcast(145);
            quest::selfcast(3692);
        }
    }
    if ($text =~/Meditate/i)
    {
        quest::say("Here you go $name");
        quest::setskill(31,150);
    }
    if ($text =~/Bard/i)
    {
        if($class eq 'Bard')
        {
            quest::say("Here you go $name");
            quest::setskill(70,150);
            quest::setskill(54,150);
            quest::setskill(49,150);
            quest::setskill(12,150);
            quest::setskill(41,150);
        }
    }
    if ($text =~/Buff/i)
    {
        if ($ulevel >= 46)
        {
            quest::say("Good, stand where you are while I cast");
            quest::selfcast(1568);
            quest::selfcast(4054);
            quest::selfcast(3397);
            quest::selfcast(5507);
            quest::selfcast(2570);
            quest::selfcast(3467);
        }
    }
    if ($text =~/Scribe/i)
    {
        quest::say("Good, stand where you are while I cast");
        quest::scribespells($ulevel);
    }
    if ($text =~/Donator/i)
    {
        if (plugin::check_hasitem($client, 2377)) {
            quest::say("Very good, you have item 1234 either with you or in your bank!");
            quest::selfcast(5297);
            quest::selfcast(5278);
            quest::selfcast(5522);
            quest::selfcast(5507);
            quest::selfcast(5415);
            quest::selfcast(5365);
            quest::selfcast(5398);
            quest::selfcast(2886);
        }
    }
}
finally got it working thanks guys
Reply With Quote
  #20  
Old 01-14-2010, 05:22 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

FYI: You left my example text in your last block. Also, If the player is exactly 46, he will get double spells.
Reply With Quote
Reply


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 12:20 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3