Thanks for the tip on ignoring the player.pl errors Aramid. Since the quest started working I didn't think it could be that bad to see them still, but you never know As for the plugins, they are already in both, and appear to be functioning.
Just noting that you have a typo again in the new one you posted this last time. Check the following line:
Quote:
quest::say("You have done it $name! May you be graced with the strength of Brell Seliris!");Brell!");
That definitely won't work lol! I imagine it is just a copy and paste mistake when you posted it here. But I wanted to note it in case someone else sees it and wants to use some of the script.
you are correct about a copy and paste error. I have been up for too many hours and it's showing lol. thanks Trevius for the spot. Third times a charm....hopefully...zzzzzzzz
sub EVENT_SAY {
if($text =~ /Hail/i) {
quest::say("Greetings $name. Have you come to [rid] us of the vile Emperor?");
}
if($text =~ /rid/i) {
quest::say("Outstanding! All you have to do is kill Emperor Crushbone then bring me the proof in the form of his head.");
}
}
sub EVENT_ITEM{
#Taskmaster earring
if($item1== 1001){
quest::say("You have done it $name! May you be graced with the strength of Brell Seliris!");
quest::exp(25000);
quest::ding();
quest::set_zone_flag(58 );
$client->Message(15, "You received a character flag!");
}
}
Personnally i prefer not to put the return item in a else . That way if they give you the right item with another item , the other items will be returned ...
Example:
Code:
sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, 1001=>1)) {
quest::say("You have done it $name! May you be graced with the strength of Brell Seliris!");
quest::exp(25000);
quest::ding();
quest::set_zone_flag(58 );
$client->Message(15, "You received a character flag!");
}
plugin::return_items(\%itemcount);
}
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.