Stopping Checkers on found date August 16, 2021 01:23PM |
Registered: 7 years ago Posts: 650 |
--deal with already found so status does not thrash local alreadyfound = PGC.GetFinds(profileId, { fields = {'gccode', 'visitdate'}, order = 'OLDESTFIRST', filter = {gccodes = {args[1].gccode} }}) if #alreadyfound >0 then if conf.end_date=="today" or conf.end_date>alreadyfound[1].visitdate then conf.end_date=alreadyfound[1].visitdate end end
Re: Stopping Checkers on found date August 16, 2021 05:01PM |
Registered: 5 years ago Posts: 638 |