Update Aardwolf_Clock.xml

pull/4/head
AardCrowley 6 years ago
parent b88075c5db
commit 6080453ed7

@ -6,7 +6,7 @@
<!-- Plugin "Aardwolf_Clock" generated by Plugin Wizard -->
<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="2.81">
<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="2.82">
</plugin>
@ -30,6 +30,10 @@
<aliases>
<alias enabled="y" match="aardclock update" script="update_plugin" sequence="100">
</alias>
<alias enabled="y" match="aardclock time" script="forceUpdateTime" sequence="100">
</alias>
<alias enabled="y" match="aardclock help" script="onHelp" sequence="100">
</alias>
</aliases>
<!-- Script -->
@ -300,6 +304,11 @@
checked_time = false
end
function forceUpdateTime()
EnableTrigger("GetTime")
Send(" time")
end
function checkColours()
local sunrise, sunset = clock_seasons[clock_current.Season][2], clock_seasons[clock_current.Season][3]
@ -462,6 +471,13 @@
raw_version = nil
end -- end Update code
function onHelp()
ColourNote("orange", "", "AardClock Help (Generic until I make it better)")
ColourNote("orange", "", "aardclock time -- force an update of time, useful for disconnections and reboots")
ColourNote("orange", "", "aardclock update -- automatically update the plugin when new versions come out")
ColourNote("orange", "", "aardlock help -- what you're reading now...")
end
]]>
</script>

Loading…
Cancel
Save