For 3D, you can use the Direct3D (D3D) plugin to make 3D text, then rotating the object.
For 2D, the easiest way I can think of, is getting the image of the text. Then after converting it to a sprite, you would rotate the sprite.
However, if you are displaying text a lot, the "get image" command will take up some system resources. Here is some example code.
[EDIT] Its now fixed.
Sync On
Sync Rate 60
Sync
Text 0,0,"Rotating text :D"
Get Image 1,0,0,180,180,1
Sprite 1,240,200,1
Set Sprite 1,1,1
Do
Rotate Sprite 1,Sprite Angle(1)+1
Sync
Loop