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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-28-2014, 04:23 AM
Bandor
Hill Giant
 
Join Date: May 2014
Posts: 209
Default Couple Bugs

Having a couple bugs with 3 quests im working on looking for a little input ive been working on them for a couple hours now and have got much closer to them working but still having trouble lol.

First - I have a basic script for a popup window for basic server info,but when you click Ok,after hailing the npc, nothing else happens. Code is

Code:
#Quest file for Mesa - Server Guide

sub EVENT_SAY{
    if($text=~/hail/i){               
        plugin::DiaWind("Hello {gold}$name~! Would you like basic {lb}server information~? [information> ");
    }
	}
    if($text=~/information/i){
        plugin::DiaWind("Make sure to check your {lb}AA's~ as some classes get freebies aswell as custom aa's. Exp is fairly fast but group exp is double! 
        Make sure your server {r}files~ [server files> are up to date. The Server {r}website~ [website> contains more information. Speak to {y}Deevan~ to proceed!");
    }
    if($text=~/server files/i){
        plugin::DiaWind(""Speak with {lb}Mahk~, He will guide you further.);
    }
    if($text=~/website/i){
        plugin::DiaWind("Our forums can be located at {g}eqanw.forumotion.com~);
    }
}
Second- Quest texts work fin but npc is not giving reward upon turn in.
Code:
#Quest file for Mesa - Apprentice Loso

sub EVENT_SAY {
  if($text=~/hail/i) {
    quest::say("Hail $class. Do you seek to earn a [bridle]");
  }
  if($text=~/bridle/i) {
    quest::say("I suspect, as most of us these days,that you are a bit low on platinum? Well no need to worry! Simply handle a...well,[situation] for me");
  }
  if($text=~/situation/i) {
    quest::say("I have a high intolerance for the Tuffien these days. If you would be willing to bring me back one of their hides I will be willing to [reward] you");
	}
if($text=~/reward/i) {
    quest::say("Bring me back any color hide and I will give you the corresponding bridle");
  }
	}

	sub EVENT_ITEM { 
	if(plugin::check_handin(\%itemcount, 1 = 1261){ # Black Tuffien Hide
		quest::summonitem(21810); # Black Rope Bridle*
	}
  elsif (plugin::check_handin(\%itemcount, 1267 = 1) { # White Tuffien Hide
  quest::summonitem(21805); # White Rope Bridle*
	}
	elsif (plugin::check_handin(\%itemcount, 1266 = 1) { # Tan Tuffien Hide
  quest::summonitem(21800); # Tan Rope Bridle*
	}
	elsif (plugin::check_handin(\%itemcount, 1264 = 1) { # Brown Tuffien Hide
  quest::summonitem(21815); # Brown Rope Bridle*
	}
	}

And last. I want this guy to send a direct download link of my server files. have the first pop up window appearing but no clue as to how to direct it to a webpage.

Code:
#Quest file for Mesa - Mahk

sub EVENT_SAY {
    if ($text=~/hail/i) {
            plugin::DiaWind("Do you wish to update your server [files] ?");
          if ($text=~/files/i) {
		  
        }
    }
}
__________________
Owner and Developer - Everquest: A New World
Reply With Quote
 


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