Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 02-05-2004, 02:07 PM
Tark
Fire Beetle
 
Join Date: Jun 2003
Posts: 6
Default

Quote:
Originally Posted by smogo
if i get it well, to have a npc remember the last time a char was met, forgetting after 7 days :

quest::targlobal("last_met",getDate(),"D7",$mobid, $user,$zoneln);


then maybee (this is just an idea, not tested):
Code:
sub EVENT_SAY{
/hail/i && (defined $last_met) && quest::say("Hail, i remember you. Didn't we chat on $last_met");

/hail/i && (!defined $last_met) && do {
  quest::say("Hello $name. I think this is the first time we meet, right ?");
  quest::targlobal("last_met",getDate(),"D7",$mobid,$user,$zoneln);  
}
then , if this correct, is it possible to add the options to local variables too (allowing to set last_mem in the above example for all zones at a time) ?

Well, asking for an addition on a not yet released new feature ... Please forgive me in advance, it would be SOOOO nice.

Anyway, what you are bringin' in is great !
Yep it already does that if ($varname ="") then it is not there.
Reply With Quote
 

Thread Tools
Display Modes

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 03:21 PM.


 

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