Phantasmal Site > Phantasmal API > API Listing > message
API Function: message
- Summary:
- send a message to the user
- Defined In LPC Object:
- /usr/System/obj/user.c
- Prototype:
- int message(string str)
- Can Be Called By:
- System, Common, Game
- Description:
-
Send the user the string in question, filtered by the state
stack.
- Return Value:
-
The number of bytes sent.
- Errors:
- Return -1 if unable to send
- See Also:
- send_phrase ,
send_system_phrase
|