Update Aardwolf_Clock.xml

Show/hide window
master
AardCrowley 9 months ago committed by GitHub
parent 7aa9bafc9b
commit 7e41883d67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -6,7 +6,7 @@
<!-- Plugin "Aardwolf_Clock" generated by Plugin Wizard --> <!-- Plugin "Aardwolf_Clock" generated by Plugin Wizard -->
<muclient> <muclient>
<plugin name="Aardwolf_Clock" author="Crowley, with help from Fiendish" id="28a36788fa20aa062e760ee2" language="Lua" purpose="Displays a realtime clock based on Aardwolf game time" save_state="y" date_written="2018-05-15 11:43:22" requires="4.90" version="5.02"> <plugin name="Aardwolf_Clock" author="Crowley, with help from Fiendish" id="28a36788fa20aa062e760ee2" language="Lua" purpose="Displays a realtime clock based on Aardwolf game time" save_state="y" date_written="2018-05-15 11:43:22" requires="4.90" version="5.03">
</plugin> </plugin>
@ -34,6 +34,8 @@
</alias> </alias>
<alias enabled="y" match="aardclock help" script="onHelp" sequence="100"> <alias enabled="y" match="aardclock help" script="onHelp" sequence="100">
</alias> </alias>
<alias enabled="y" match="^aardclock (?:hide|off|on|show)$" script="winShow" sequence="100" regexp="y">
</alias>
</aliases> </aliases>
<!-- Script --> <!-- Script -->
@ -580,6 +582,13 @@ function onHelp()
ColourNote("orange", "", "aardclock update -- automatically update the plugin when new versions come out") ColourNote("orange", "", "aardclock update -- automatically update the plugin when new versions come out")
ColourNote("orange", "", "aardlock help -- what you're reading now...") ColourNote("orange", "", "aardlock help -- what you're reading now...")
end end
function winShow()
if WindowInfo(win, 6) == "true" then
clockWin:hide()
else
clockWin:show()
end
]]> ]]>
</script> </script>

Loading…
Cancel
Save