code:
shell '%COMSPEC% /C net start messenger'

will start the messenger service.

The MESSAGEBOX will not work as the task cannot interact with the desktop of the currently logged-in user.

There are UDFs in the UDF Forum that can check whether user's are logged into the computer. Be aware that the user under which the task runs will also be counted as a logged-in user.

[ 20. August 2003, 23:10: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.