Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-03-2011, 06:19 PM
Apoc.Index
Sarnak
 
Join Date: Aug 2011
Posts: 67
Default In Game perl commands

Hello everyone, so.. I am starting to re do all my quests in the Tutorial after the crash.

I dont know if I am useing the wrong command or not.

The starting zone is taka, in my eqemu quest's folder i added taka, then added the (DBnumber).pl file and wrote the quest in there.
after placing it in there I 'Saved As' (DBnumber).pl and selected save as type 'All Files'

After doing so, In game i typed #reloadpl to refresh the client/db quest file.

Is that the proper command? If so, I must have something goofy going on in the DB because the NPC will not respond.

Next idea would be is there something wrong with the script. Well, Here the script is.

*****************
sub EVENT_SAY
{
if ($text =~/Hail/i)
{
quest::say("Hello $name! Would you like me to set all your [Discs], or perhaps you are interested in learning all of your [spells]?");
quest::say ("Or maybe you are a [bard] in need of music lessons?"); #A conversation to Scribe ALL spells For Player (up to curr. level)
}
elsif($text=~/Discs/i)
{
quest::traindiscs(75, 1); #Trainsdiscs to the users CURRENT Level
}
elsif ($text =~/bard/i)
{
quest::say ("Yes, normally you would think of a bard as being an adept student of music. For some reason, these lands slow the music learning ability to such an extent that I am willing to use my magic to train their abilities. Are you [ready] to learn?");
}
elsif ($text =~/ready/i)
{
quest::say ("Listen closely as the essence of music fills your soul!");
quest::addskill(12,255);
quest::addskill(41,255);
quest::addskill(49,255);
quest::addskill(54,255);
quest::addskill(70,255);
}
elsif ($text =~/spells/i)
{
quest::say ("Good, stand where you are while I begin your lessons");
quest::scribespells(75 ,1);
}
}
*********************

I dont see anything flashing out at me as wrong, but a 2nd set of fresh eyes allways helps.

Thanks guys!

Apoc.
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 04:35 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