ITeamEvents OnMessageReceived Method Robocode Robot API for .NET
This method is called when your robot receives a message from a teammate. You should override it in your robot if you want to be informed of this event.


public void OnMessageReceived(MessageEvent evnt)
    Out.WriteLine(event.Sender + " sent me: " + evnt.Message);

Namespace: Robocode.RobotInterfaces
Assembly: robocode (in robocode.dll) Version:

void OnMessageReceived(
	MessageEvent evnt
See Also