Add files via upload

pull/4/head
AardCrowley 3 years ago committed by GitHub
parent 6d42b76810
commit 0fa3e70f70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Tuesday, October 05, 2021, 10:42 AM -->
<!-- MuClient version 5.07-pre -->
<!-- Plugin "RnameWithGMCP" generated by Plugin Wizard -->
<muclient>
<plugin
name="RnameWithGMCP"
author="Crowley"
id="8a7ff1c8cf6e889324b26e7e"
language="Lua"
purpose="Displays GMCP room ID"
save_state="y"
date_written="2021-10-05 10:41:05"
requires="4.80"
version="1.0"
>
</plugin>
<triggers>
<trigger
enabled="y"
keep_evaluating="y"
match="{rname}*"
omit_from_output="y"
send_to="14"
sequence="100"
>
<send>TSRtable = TriggerStyleRuns</send>
</trigger>
</triggers>
<!-- Script -->
<script>
<![CDATA[
require "gmcphelper"
TSRtable = {}
function OnPluginBroadcast(msg, id, name, text)
if (id == "3e7dedbe37e44942dd46d264") then
if (text == "room.info") then
for i,v in pairs(TSRtable) do
if v.text ~= "{rname}" then
ColourTell (RGBColourToName (v.textcolour),
RGBColourToName (v.backcolour),
v.text)
end
end
ColourTell("white", "", " (" .. gmcp("room.info.num") .. ")")
Note("")
end
end
end
]]>
</script>
</muclient>
Loading…
Cancel
Save