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 12-26-2006, 04:06 PM
JrFaust
Sarnak
 
Join Date: Aug 2005
Location: Overthere
Posts: 82
Default

I do believe that you have a spelling mistake in your if-then-else statement, els should be else if I'm not mistaken. As for the rest of the code I'm not sure on, but it looks like the start { and end } symbols might be messed up in the elsif and else area but we don
Reply With Quote
  #2  
Old 12-27-2006, 05:33 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

The "elsif" appears to be correct, but I cannot find a reference to "els". Perl is kookey tho. It's likely they are both completely valid.

I have not had much luck with quests on a server with Perl uninstalled... so I leave it in. I too thought the Emu didn't need it anymore.
Reply With Quote
  #3  
Old 12-27-2006, 09:26 AM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

still need perl installed. you just dont need to install IO::Scalar and those other things ^_^

as for els/elsif..
elsif is valid...
els is not valid i dont think..
else is valid pretty sure..
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote
  #4  
Old 12-27-2006, 10:03 AM
Aerewen
Hill Giant
 
Join Date: Dec 2006
Posts: 110
Default

you are correct. els is not valid which is why it was executing the code within the brackets regardless

perl statements are quirky but you hit it right on target

if(){
blah
} elsif() {
blah
} else {
blah
}

id proper syntax for perl
the quests will be finished sometime this week and posted as a zip.
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 09:31 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