handleOutgoingCrossServerMessage

fun handleOutgoingCrossServerMessage(sender: Player, targetName: String, targetServerName: String, message: String): String(source)

Handles the sender-side display of an outgoing cross-server direct message. Applies romaji conversion, shows the message to the sender, notifies spies, and records the remote reply target.

Return

the message body to relay (romaji-converted if applicable), since the receiving server has no access to the sender's settings.