Do you have suggestions how to write a script which detects whether the user specified at the first parameter of the script is logged?
If you are logged on, offer him the opportunity to write a message to the user. Subsequently, as the message sent will be offered the opportunity to write another report or completing the work of the script.
In the case of not user is logged on and the message "" is unknown ...
Thanks.