$awaytime

If you are marked as away current server connection, it returns number of seconds you have been away.