The server can get it’s own messages. Similar to calling RPCMode.All.
How about just call the RPC function locally and then do a broadcast to RPCMode.Others?
if (Event.current.type == EventType.keyDown Event.current.character == "\n" inputField.Length > 0)
{
ApplyGlobalChatText(inputField, 1); //We call the RPC locally for me
networkView.RPC("ApplyGlobalChatText", RPCMode.Others, inputField, 0);// We tell the other members to call the RPC themselves
inputField = ""; //and clear the chat msg window
}
@RPC
function ApplyGlobalChatText (str : String, mine : int)
{
//Add the message str to the Chat History array
}