EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Quest do not work (https://www.eqemulator.org/forums/showthread.php?t=18169)

Olimpan859 03-20-2005 07:48 PM

Quest do not work
 
i am trying to assign a npc a quest, but he doesnt respond..heres my quest


sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Hail, $name .I will make you a deal with you. Give me your Tome of Order and Discord and I will set your level to 40, scribe your spells to 40, and give you 110 in all skills. Plus 5k plat.. So how about it?");}
}
sub EVENT_ITEM
{
if ($itemcount{18700} == 1){quest::say("Nice deal, Here you go.");
quest::level(40);
quest::setskillall(110);
quest::givecash (0,0,0,5000);
quest::scribespells();
}}



any ideas?

sonicintuition 03-21-2005 02:13 AM

Heya,

You posted this in the wrong forum! /bonk

I looked at your quest, it looks like your problem is in your quest::setskillall. It should be:
Quote:

quest::setallskill(110);
Also, I could be wrong but don't put 2 closing brackets on one line. If it isn't messing up your quest at the very least it makes it confusing for others to read. Just a friendly tip. ;)

Regards,
SI

phasepuma 03-21-2005 05:20 AM

[QUOTE=Olimpan859]
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Hail, $name .I will make you a deal with you. Give me your Tome of Order and Discord and I will set your level to 40, scribe your spells to 40, and give you 110 in all skills. Plus 5k plat.. So how about it?");}
}

Off topic, but this is where a death touch would be hilarious.

Cisyouc 03-21-2005 07:52 AM

Quote:

Originally Posted by sonicintuition
Heya,

You posted this in the wrong forum! /bonk

Mm. I agree.

Olimpan859 03-21-2005 06:52 PM

thanks all!


All times are GMT -4. The time now is 09:18 AM.

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