From 47fdb1a70a9715713f2aa870f3fa34032e65cd41 Mon Sep 17 00:00:00 2001 From: AardCrowley <12467582+AardCrowley@users.noreply.github.com> Date: Wed, 16 Feb 2022 10:46:02 -0500 Subject: [PATCH] Added toggle Added a toggle `roomids` to toggle on/off. --- RNameToGMCP.xml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/RNameToGMCP.xml b/RNameToGMCP.xml index d3b9441..794f92a 100644 --- a/RNameToGMCP.xml +++ b/RNameToGMCP.xml @@ -33,6 +33,19 @@ + + + idEnabled = not idEnabled + SetVariable("idEnabled", tostring(idEnabled)) + ColourNote("white", "blue", "Room IDs are now " .. (tostring(idEnabled) == "true" and "enabled" or "disabled") .. "!") + + @@ -40,6 +53,9 @@