Hey, how can I get an TAG with the script?
I using same code like in scirra tutorial. Also I can`t find it into documentation. Can know someone or this feature is missing? Or how can I separate messages without tag?
// Called when a message is received over the network from any peer.
OnMessage(e)
{
let str = ""; // string message to display
if (typeof e.message === "string")
{
// If a string message was received, display the content of the string.
str = `String message received from ${e.fromAlias}: ${e.message}`;
}
console.log(e.tag); // No tag
console.log(e.message.tag); // No tag
}