EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   Perl enableing your database? (https://www.eqemulator.org/forums/showthread.php?t=15082)

Derision 08-03-2004 10:43 AM

Quote:

Originally Posted by jimbox114
Example 1 (this one works except when I say god):
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("What do you want from me mortal? Are you here to [test] your strength against me, or do you think your a [God] now? Well speak up, I do not have the time for the likes of you $race now speak up!");}
if ($text=~ /test/i){quest::say("Well if you wish to fight me, draw your blade and strike me. I have slain many adventures who have wandered into my domain, do you honestly think you are any different? Go on, Strike me if that is what you want to do.");}
if ($test=~ /god/i){quest::say("Ha, you have got to be jokeing? Well if you were I guess I could permit you passage to the sacred grounds, but I hardly see any reason for me to do that. Now begone, I don't wish to deal with the likes of you anymore!");}
}

You have test instead of text in that one which would explain why when you say 'god' it doesn't work.

jimbox114 08-03-2004 12:13 PM

That does explain that. I looked real close at my others and I noticed all of them had a ) missing in them. Hopefully that takes care of it. Thanks for the assistance, think its fixed (knocks on wood).

Cisyouc 08-03-2004 12:16 PM

to get rid of the plugin error just rename a blank txt document plugin.pl and im not sure where you put it in, i have it in C:/EQEMu and C:/EQEMu/Quests/ and I dont get the error any more.

animepimp 08-03-2004 02:51 PM

Well I'd say your second quest is failing because /morons/i{quest:: is missing a ), should be /morons/i){quest::. Check the output of zone.exe after you zone into there, it will tell you if a quest fails to load.

jimbox114 08-03-2004 03:52 PM

Aye I went through there and noticed alot of them was missing the ) I got them all working now. Thanks. Things are looking good on there now.


All times are GMT -4. The time now is 05:14 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.