LUA filter and autoroute

Hello, I want to create a script that, when I receive a study with SR object, I store only SR but I forward all the study to another PACS.
Thanks a lot

MP

can u share u script