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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2011, 01:24 PM
nilbog
Hill Giant
 
Join Date: Nov 2007
Posts: 198
Default

You didn't close your brackets. The one in red is missing.

Quote:
sub EVENT_SAY {
if ($text=~/Hail/i){
quest::say("Hello young heroes. I have waited a long time for adventures such as yourselves to come to this place.I was put here just to monitor the crystal dragon and to try to keep it at bay in this fortress we have built around it. Aerin'Dar MUST be stopped. The magic that gave me the strength to to uphold my duties is slowly fading. If you are powerfull enough... enter and stop her! You need but to tell me when your [ready] me to be transported in.");
}
if($text=~/ready/i){
quest::movepc(208, 362,2044,162);
}
}
It closes the bracket you opened in sub EVENT_SAY {
__________________
https://www.project1999.com
Reply With Quote
  #2  
Old 02-04-2011, 02:25 PM
chrismed0
Sarnak
 
Join Date: Aug 2010
Location: USA
Posts: 75
Default DOH Moment

Wow.. talk about a DOH moment!

With all the HOURS of looking, coping pasting from other scripts and just not noticing it.....

I finaly got tired and gave up .. couldn't see strait ROFL!

I looked at my other scripts.. and sure enough.. I see how I was missing it though..

I did my other scripts like this:

Code:
sub EVENT_SAY { 
if ($text=~/Hail/i){quest::say("Ug... Hello ittle on. I here to help. I know little magic. I send you to [ButcherBlock], [Oasis], [Overthere] ort [Firiona Vie] if need. I be careful over Firiona tho. They ont like some us");
}
if($text=~/Oasis/i){quest::movepc(37, -839,884,0); }
if($text=~/ButcherBlock/i){quest::movepc(68, 2889,646,10);}
if($text=~/Overthere/i){quest::movepc(93, 2733,3425,-158); }
if($text=~/Firiona Vie/i){quest::movepc(84, 1402,-4275,-103); }
}
I was putting the bracket after each statement so not to miss it....
on the new script.. I didn't do it though so I ...*cough* missed it.

Still... not bad for a beginner that has never written scripts .. ever..

It is all pritty simple.. but realy easy to miss the small things.

THANKS ALOT!... nilbog =)
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:03 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