GetPCChatSpeaker()

Retrieves the PC that sent the last player chat message.

object GetPCChatSpeaker();

Description

Retrieves the PC that sent the last player chat (text) message.



Remarks

Should only be called from a module's OnPlayerChat event script.

Returns OBJECT_INVALID on error.

Note: Private tells do not trigger a OnPlayerChat event.


Version

1.69

Example

See OnPlayerChat.

See Also

functions:  GetPCChatMessage | GetPCChatVolume | SetPCChatMessage | SetPCChatVolume
events:  OnPlayerChat Event


author: Mistress, contributor: Axe Murderer