|
Stopping Checkers on found date August 16, 2021 11:23AM |
Registered: 10 years ago Posts: 653 |
--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 03:01PM |
Registered: 7 years ago Posts: 644 |