Add /loc command.

Adds a /loc command to print the current location to the console (chat) window.