i have googling from about 2hour, and no luck... so i make a account just to ask this
i have this
client.on("friendOrChatMessage", function(steamID, message,room) {
console.log(room)
console.log("Friend message from " + steamID+ ": " + message);
if (message == "Ping") {
client.chatMessage(steamID, "Pong");
console.log("Send back: Pong");
} else {
client.chatMessage(steamID, message);
console.log("Send back the standard reply");
}
});
but this only trigger from direct message , and the output :
SteamID { universe: 1, type: 1, instance: 1, accountid: 16xxxxxx }
3:58 PM
Friend message from 76xxxxxxxxxxx38: q
3:58 PM
Send back the standard reply
3:58 PM
no output when i send message on group