I've been out of the coding scene for way too long. I can't remember how to find an attribute within a block and subsequently modify it, but we'll cross that bridge when we get there. The block only has one attribute within it so that makes it easier. Here's my code so far.
(defun C:BlkRotation
( / ss cnt bName assoclist blkRotation
) (setq ss
(ssget '
((0 .
"insert")(66 .
1)((2 .
"MYBLOCK"))))
;;;This is where I can't remember how to find the attribute and then modify it.
(if block has attribute BLKROTATION then
(entmod block attribute value with block's actual rotation
angle ) ;end if statement...
)
)