A script to check sensor last update

Hmmm…I have a card for HomeyScript returning a text tag. Is there a way to access the other tags? I get one tag, the #result. If I read the script correctly, should I have access to an #InvalidatedDevices and #notReportingCount ? If so, care to point me in the direction of which card to use instead of the HomeyScript returning text tag? Or…how to access the other variables if the text tag is done correctly?