hey, can anyone help me plzz, i want to know how you make a script say how long a user has been idle and what there status is, (eg. away or not away)

thanks cool