PDA

View Full Version : Quest do not work


Olimpan859
03-20-2005, 07:48 PM
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:

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
Heya,

You posted this in the wrong forum! /bonkMm. I agree.

Olimpan859
03-21-2005, 06:52 PM
thanks all!