delete address list old than 7 days

Hmm, that is going to be not so easy I think…
Can’t help you with the script, but out of curiosity I’ve been searching through the forums about this. (no real hits on THIS specific use-case)
The only “field” you have is the “Creation Time” when you added this (static) entry.
You’ll have to parse (eg. with some regex, only retain date part,convert it to a real date somehow) it and compare it to the actual daytime value, do the math and then decide (if > 7 days) to remove it.
Hopefully some of the real scripting guru’s here can jumpstart you.

Perhaps this sub-script could be used (or parts of its logic) for the aspect of conversion of “Mikrotik date” (eg dec/31/2019) to something usable.

http://forum.mikrotik.com/t/useful-universal-date-converter-function/87088/1

Also interesting, script/logic to get the difference between 2 dates..

http://forum.mikrotik.com/t/calculate-the-difference-between-two-dates/107120/1

Another one on string > time conversion and the issues it has.

http://forum.mikrotik.com/t/convert-string-to-time-value/68658/1