Update Aardwolf_Clock.xml

master
AardCrowley 7 days ago committed by GitHub
parent 5984d2065b
commit e3a0b37376
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -6,13 +6,16 @@
<!-- 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="5.04">
<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.05">
</plugin>
<!-- Triggers -->
<triggers>
<trigger enabled="y" match="We hope you have enjoyed playing Aardwolf and will return soon." sequence="100">
<send>EnableTimer("clockTimer", false)</send>
</trigger>
<trigger enabled="n" match="^\s+\*\s+It is ((?:\d+|Noon|Midnight))((?:p|a))?m? (?:in the daytime|in the evening|during the night) of the (\d+)(?:rd|th|nd|st) day of the Season of (?:the )?(\w+).*$" script="getTime" regexp="y" sequence="100" omit_from_output="n" name="GetTime">
</trigger>
<trigger
@ -29,7 +32,7 @@
<!-- Timers -->
<timers>
<timer script="onTimer" second="0.25" offset_second="0.00" name="clockTimer" enabled="y">
<timer enabled="n" script="onTimer" second="0.25" offset_second="0.00" name="clockTimer" enabled="y">
</timer>
</timers>
@ -518,6 +521,7 @@ function getTime(name, line, args)
checkColours()
updateTime()
EnableTimer("clockTimer", true)
checked_time = true
EnableTrigger("GetTime", false)

Loading…
Cancel
Save