The azimuth is easy, though don't rely on my syntax:-
player groupchat format ["%1",getDir player]
This line would go in a script that was called by the addaction comand.
Height - I assume you mean vertical azimuth - I have no idea.
If you need help on writing a script check out snYpir's Friendly Intro to Code Snippets and Johan Gustafsson's Scripting tutorial, both in the Ed Depot.
Look up the commands addaction, format, groupchat, sidechat and getdir in the online command reference.