PDA

View Full Version : Send a message which is draggeble healing



brunocalado
May 4th, 2020, 18:16
Hi.

I'm building a extension which needs to send to the chat a message with a number which can be dragged to a PC token to heal.

Can you help me with that?



function my_heal(message)
local msg = {};
msg.text = tonumber(message);
Comm.deliverChatMessage(msg); -- deliverChatMessage ou addChatMessage
end

my_heal(20);