Direction command but for rotating tool wrist (EOAT)

I would like to the a move command such as the direction command where it will move the last wrist a certain degree just as it allows for +X, -X, +Y, -Y, +Z, -Z.

Lookup servoj in the script manual. I think that can do what you want.