Example: Someone say "Hello" in world chat.

If I recieve this chat message we can use Turbine.Chat.Received(sender, args) and get the following information:

Message: [World] PlayerName: 'Hello'
ChatType: 38
Sender: MyName <--- For some reason, it always says that I am the sender of the message!

If I want to know who is the actual sender of the message, I can easily extract the player's name from args["Message"] using string.find and string.sub.

Now my problem is: How to find out the sender's name if I recieved an IMs?
Surprisingly in this case the args["Message"] is only the actual message (not including the player's name)!

Does anyone have an idea how to get the sender's name of incoming IMs?



Thank you in advance!