Thats my point. The script knows when you've checked the messages... So, if you make a setting true when the toast is first displayed and then false when the script checks and see the messages are no longer there, you can stop the toast displaying while the setting equals true