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
  #6  
Old 01-11-2010, 01:41 PM
bthomsen0312
Fire Beetle
 
Join Date: Nov 2009
Posts: 21
Default

the above script doesn't work, neither does inserting the ID numbers for the race as well, this is what i have put in, i also had to make a couple corrections.

Code:
#Perl Script for Albert to teleport People to their respective starting cities
sub EVENT_SAY {
    if ($text =~/Hail/i)
{
        quest::say ("Good day to you, $name. I imagine you have talked to Death by now? If you haven't, you really should seek him out. If you have, are you ready to [go home]?");
}
    if ($text =~/go home/i) {
      if ($race eq '6') 
      {
        quest::MovePC(40, 156.92, -2.94, 31.75) ;
}
    if ($race eq '9')
    {
        quest::MovePC(52, 0, -100, 4) ;
}
    if ($race eq '4')
    {
        quest::MovePC(54, 10, -20, 0) ;
}
    if ($race eq '7')
	{
        quest::MovePC(54, 10, -20, 0) ;
}
    if ($race eq '130')
	{
        quest::MovePC(54, 10, -20, 0) ;
}
    if ($race eq '330')
	{
        quest::MovePC(105, -18, -123, -16) ;
}
    if ($race eq '5')
	{
        quest::MovePC(61, 94, -25, 3.75) ;
}
    if ($race eq '12')
	{
        quest::MovePC(55, -35, -47, 4) ;
}
    if ($race eq '1')
	{
        quest::MovePC(8, 211, -296, 4) ;
}
    if ($race eq '11')
	{
        quest::MovePC(19, 45.3, 1.6, 3.8) ;
}
    if ($race eq '3')
	{
        quest::MovePC(24, -309.75, 109.64, 23.75) ;
}
    if ($race eq "Drakkin")
	{
        quest::MovePC(394, -550, -430, 80) ;
}
    if ($race eq '128')
	{
        quest::MovePC(106, -416, 1343, 4) ;
}
    if ($race eq '9')
	{
        quest::MovePC(52, 0, -100, 4) ;
}
    if ($race eq '10')
	{
        quest::MovePC(37, -99, -345, 4) ;
}
    if ($race eq '2')
	{
        quest::MovePC(29, 0, 0, 3.75) ;
}
    if ($race eq '8')
	{
        quest::MovePC(60, -2, -18, 3.75) ;
}
}
}
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 09:47 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3