Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > social

API Function: social

Summary:
instruct the mobile to perform a social verb

Defined In LPC Object:
/usr/common/lib/mobile.c

Prototype:
nomask void social(string verb, object target)

Can Be Called By:
System, Common, Game

Description:

Cause the mobile to perform a social verb, normally perceptible to everybody in the same location. Mobiles who can see have their hook_social function called to let them know that somebody has performed a social nearby.

You should access-protect your version of this and all other inherited functions, including upgraded() and destructed().

Return Value:

None.

Errors:
Usually none.

See Also:
say , emote , hook_social , whisper