Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 07-19-2016, 10:57 AM
kimura
Hill Giant
 
Join Date: Oct 2011
Posts: 132
Default

make sure the item has the script file ID assigned to it

here is an example of one of mine

Code:
sub EVENT_ITEM_CLICK {
my $named = $client->GetName();
    if($itemid == 132496 && $ulevel == 1) {
        $client->NukeItem(132496);
		$client->Message(327, "You have been boosted!");
		quest::we(327, "$named has been boosted!!");
		quest::level(70);
		$client->Message(327, "Bam! Level 70!");
        $client->SetAAPoints(1000);
		$client->Message(327, "You now have 1000 AA points!");
         
    } else {
        $client->Message(315, "Nice try, you're too powerful to use this");
    }
}
the script is script_7150.pl, so the item 132496 has to have the scriptfileid column in the items table = 7150

hope this helps
Reply With Quote
 


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 02:09 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