From 6080453ed79a1dd877e175a06db565613623fe1e Mon Sep 17 00:00:00 2001 From: AardCrowley <12467582+AardCrowley@users.noreply.github.com> Date: Wed, 6 Mar 2019 11:14:05 -0500 Subject: [PATCH] Update Aardwolf_Clock.xml --- Aardwolf_Clock V2/Aardwolf_Clock.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Aardwolf_Clock V2/Aardwolf_Clock.xml b/Aardwolf_Clock V2/Aardwolf_Clock.xml index 6c71e22..3431f53 100644 --- a/Aardwolf_Clock V2/Aardwolf_Clock.xml +++ b/Aardwolf_Clock V2/Aardwolf_Clock.xml @@ -6,7 +6,7 @@ - + @@ -30,6 +30,10 @@ + + + + @@ -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 ]]>