From a37e9c01237024dd5c3606fd29fcdc1f711a3716 Mon Sep 17 00:00:00 2001 From: aard-aoric <92993897+aard-aoric@users.noreply.github.com> Date: Fri, 22 Oct 2021 22:07:31 +0800 Subject: [PATCH] Update RNameToGMCP.xml updated the room_id label to make it clickable and run to the room when clicked --- RNameToGMCP.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/RNameToGMCP.xml b/RNameToGMCP.xml index 266a138..d3b9441 100644 --- a/RNameToGMCP.xml +++ b/RNameToGMCP.xml @@ -50,9 +50,14 @@ function OnPluginBroadcast(msg, id, name, text) ColourTell (RGBColourToName (v.textcolour), RGBColourToName (v.backcolour), v.text) + break; end end - ColourTell("white", "", " (" .. gmcp("room.info.num") .. ")") + -- ColourTell("white", "", " (" .. gmcp("room.info.num") .. ")") + Hyperlink ("mapper goto " .. gmcp("room.info.num"), + "(" .. gmcp("room.info.num") .. ")", + "", + "white", "black", 0) Note("") end end @@ -62,4 +67,4 @@ end - \ No newline at end of file +