Cleaned up the code a little.
(defun C:KEEP (/ lst x)
(setvar 'cmdecho 0)
(foreach seal '("jas" "mac" "pkp")
(if (not (tblsearch "block" (setq x (strcat "seal-" seal))))
(command "-Xref" "_U" x)
)
)
(command "-Xref" "_U" "seal-bew,seal-sal,seal-sy,seal-sr,seal-ukg,seal-smt,seal-aep,seal-pjn,seal-wc,seal-srg")
(setvar 'cmdecho 1)
(princ)
)
(C:KEEP)