str = Data.StationName print(str) function archive_fromCRGCTGE () strGE = Data.RequestAttributesSequence.RequestedProcedureCodeSequence.CodeValue print(strGE) if string.find(strGE, "CTABDPELV") then script('forward to CRGARCTHINS; destroy') end end if string.find(str, "ctbay99") then archive_fromCRGCTGE() end