You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to send a message with up to 63 characters, you must send an IS_MST packet.
If you want to send a message with more than 63 characters, you must send an IS_MSX packet.
If you want to send a command you must send an IS_MST packet.
If you want to send a message to a player, you must send an IS_MTC packet with PLID property.
If you want to send a message to a connection, you must send an IS_MTC packet with UCID property.
If you want to send local message, you must send an IS_MSL packet.
Proposed API
constinSim=newInSim();// Send a message which will appear on the local computer onlyinSim.sendLocalMessage('Local message');// Starts with a slash - send an IS_MST packetinSim.sendMessage('/end');// Up to 63 characters - send an IS_MST packetinSim.sendMessage('This is a message that is shorter than 64 characters exactly 63',);// 64 characters or more - send an IS_MSX packetinSim.sendMessage('This is another long message that is exactly 64 characters long!',);// Send a message to a specific connection by their UCIDinSim.sendMessageToConnection(4,'This is a message targeting UCID 4');// Send a message to a specific player by their PLIDinSim.sendMessageToPlayer(4,'This is a message targeting PLID 4');
The text was updated successfully, but these errors were encountered:
Problem
IS_MST
packet.IS_MSX
packet.IS_MST
packet.IS_MTC
packet withPLID
property.IS_MTC
packet withUCID
property.IS_MSL
packet.Proposed API
The text was updated successfully, but these errors were encountered: