Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > send_phrase

API Function: send_phrase

Summary:
send a Phantasmal phrase object to the user

Defined In LPC Object:
/usr/System/obj/user.c

Prototype:
int send_phrase(object phrase)

Can Be Called By:
System, Common, Game

Description:

Send the user the phrase in question, filtered by the state stack and localized to the user.

Return Value:

The number of bytes sent.

Errors:
Return -1 if unable to send

See Also:
message , new_simple_english_phrase , send_system_phrase