what is the logic of that script?
Discussion
https://github.com/ronaldstoner/nostr-deleted - It's a simple PoC for now, but I've tested pulling from relay DBs and connecting remotely via websockets. In the future it could capture deletion requests and log the original message to a DB, or even parse the logic in client.