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

Quests::Submissions This is where you submit your quests for review

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2010, 09:15 PM
jshirley
Fire Beetle
 
Join Date: Mar 2010
Posts: 1
Default Barindu::#Apprentice_Udranda.pl fixed

Original file I got from repo had a curly bracket in the wrong spot.

Code:
sub EVENT_SAY {
  $InInstanceVxed = quest::GetInstanceID("vxed",0);
  $InInstanceTipt = quest::GetInstanceID("tipt",0);
  $group = $client->GetGroup();
  if ($text=~/hail/i) { 
    quest::say("Do you wish to enter the [mountains], or are you ready for Tipt]?");  
    }
  if ($text=~/mountains/i) {
    if($group){ 
        if(defined $qglobals{god_vxed_access} && $qglobals{god_vxed_access} == 1){ 
            quest::say("Your work in the sewers has been vital to our progression, please proceed with caution in the mountain pass. 

Find the Stonespiritist for further advancement.");
                if($InInstanceVxed == 0 && $InInstanceTipt == 0){
                    $Instance = quest::CreateInstance("vxed", 0, 21600);
                    quest::AssignGroupToInstance($Instance);    
                    quest::say("Instance added.");
                }
                else {
                $client->Message(13, "You are already in an instance!");
            }
        }
        else {
            quest::say("You have not proven ready for this task. Please speak to the High Priest.");
        }
    }    
        else {
        $client->Message(13, "You are not in a group!");
        }
  }
  if ($text=~/tipt/i) {
    if($group){
                if(defined $qglobals{god_tipt_access} && $qglobals{god_tipt_access} == 1){
                quest::say("Proceed with caution, you must face several trials to find your way past through this pass.");
                if($InInstanceVxed == 0 && $InInstanceTipt == 0){
                    $Instance = quest::CreateInstance("tipt", 0, 21600);
                    quest::AssignGroupToInstance($Instance);    
                    quest::say("Instance added.");
                    }
                else {
                $client->Message(13, "You are already in an instance!");
            }
        }
        else {
            quest::say("You must speak with Stonespiritist Ekikoa in the mountains before I can grant you access.");
        }
    }
        else {
        $client->Message(13, "You are not in a group!");
        }
  }
}
Reply With Quote
  #2  
Old 10-07-2010, 09:30 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Fixed. Thank you!
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 11:09 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