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 !