You can already do this with events. try:
if angle is greater or equal to 90
if angle is less than 270
Rotate clockwise 1 degree
if angle is greater or equal to 270
or
if angle is less than 90
rotate clockwise 1 degree
That should work. You might have to use three events instead, with:
angle less than 90 and greater than or equal to 0 -> rotate clockwise 1 degree
and
angle greater or equal to 270 and less than 360 -> rotate clockwise 1 degree