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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2021, 11:02 AM
Slimshaydy
Fire Beetle
 
Join Date: Oct 2014
Posts: 6
Default Simple quest borked

Im teaching myself based off a few test scripts a friend sent me. This was working fine I added something to do it and now for 3 hours idk why it wont work...im overlooking something im sure. Any help please?

Code:
sub EVENT_SAY {
my $=info = quest::saylink("info", 1);
my $=gate = quest::saylink("gate", 1);

if ($text =~/hail/i) {
		plugin::Whisper("Hey $name. Welcome to Carnage. I can give you some $info about the server. Make sure you get a $gate item too!");
		}
if ($text =~/gate/i) {
		plugin::Whisper("summon it emwtf!");
		}
if ($text =~/info/i) {
		plugin::DiaWind("The slaughter awaits! {gold}Carnage Reborn!~ <br> {bullet} {lb} Some cool custom stuff im trying to add!~ <br> {bullet}   {lb} Max level 70~ <br>   {bullet}  {lb} Fully Custom end game content!~ <br>  {bullet} {lb} 2-3 Box Minimum not sure yet~ <br>  {bullet} {lb} End Game Storyline!~ ");
}
	}
Tia <3
Reply With Quote
  #2  
Old 02-12-2021, 11:13 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Quote:
Originally Posted by Slimshaydy View Post
Im teaching myself based off a few test scripts a friend sent me.
If you really want to learn, then there are a few resources to assist.
- https://eqemu.gitbook.io/quest-api/ is a great place to start
- Review existing quests in your quest folder and https://github.com/ProjectEQ/projecteqquests
- Use #questerrors in-game to see if quests are failing.
- Google "perl basic tutorial" for resources on how to use variables and general script structure
Reply With Quote
  #3  
Old 02-12-2021, 11:14 AM
Slimshaydy
Fire Beetle
 
Join Date: Oct 2014
Posts: 6
Default

Thank you so much!
Reply With Quote
  #4  
Old 02-13-2021, 02:36 PM
Sturm
Hill Giant
 
Join Date: Dec 2015
Posts: 116
Default

Code:
my $=info = quest::saylink("info", 1);
my $=gate = quest::saylink("gate", 1);
should be:
Code:
my $info = quest::saylink("info", 1);
my $gate = quest::saylink("gate", 1);
__________________
Developer of the Imperium Server.
https://imperium-eq.com/
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 04:32 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3