how i can change sendChat?

73 views
Skip to first unread message

NaN-NaN-senpai(BR)

unread,
Sep 10, 2017, 8:56:46 PM9/10/17
to Multiplayer Piano Forum
How i can change the var sendChat = MMP.chat.send(msg) to var sendChat = MPP.chat.receive({ a: MPP.chat.send(msg) , p: { name: "MY BOT NAME", color: 'rgb(247, 183, 54)' }});

plz help me

Lamp

unread,
Sep 12, 2017, 3:20:35 PM9/12/17
to Multiplayer Piano Forum
where is sendChat? and why is `a: MPP.chat.send(msg)`
wouldn't you want something like this?
var sendChat = function (msg) {MPP.chat.receive({a: msg, p: {name: "MY BOT NAME", color: "rgb(247, 183, 54)"}})}

Reply all
Reply to author
Forward
0 new messages