Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

SendMessage( )

Action: Sends a message across the network to another user or workstation.
 
Syntax: SENDMESSAGE ("recipient", "message")
 
Parameters: Recipient

Identifies the user or workstation to which to send the message.

Message

The message to send.

Returns:
0 Message sent
Error code Function failed  
 
Example:

$ReturnCode = SendMessage("ADMIN" , @USERID + " logged in at " + @TIME)
If $ReturnCode = 0
  ? "Message has been sent.."
Endif