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
  #19  
Old 03-06-2012, 01:31 AM
Valdis01
Sarnak
 
Join Date: Aug 2006
Posts: 41
Default

Code:
my $NewStatus = $status;
my $AcctID = $client->AccountID();
my $SQLQuery = '';

sub EVENT_ITEM
{
  if(plugin::check_handin(\%itemcount, <itemid> => 1, <itemid> => 1, <itemid => 1))
  {
	$NewStatus = $NewStatus + 1;
	$SQLQuery = 'update account set status = '.$NewStatus.' where id = '.$AcctID.';';
	$status = idk;
	$dbh->do($SQLQuery);
	$client->Message(315, "$NPCNAME whispers to you, 'Congratulations, you now have flags for <enter name>.'");
  }
  else
  {
	$client->Message(315,"$NPCNAME whispers to you, 'What is this carp?'");
	plugin::return_items(\%itemcount);
  }
}
is a template my coder worked out... Not sure if it's okay, or....
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 10:38 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