Podwojny warning.

This commit is contained in:
Bartek Stalewski 2015-01-02 17:23:24 +01:00
parent 8d6040b8aa
commit 47cf7a3aeb

View File

@ -65,6 +65,7 @@
/tbind lampa_on_cmd /tbind lampa_on_cmd
/def -mregexp -p2 -t'Zapalasz .*lampe.$' light_on1 = \ /def -mregexp -p2 -t'Zapalasz .*lampe.$' light_on1 = \
/if ({freshoil} != 1)\ /if ({freshoil} != 1)\
/rstop /_lampa_warn%;\
/repeat -%lampatick 1 /_lampa_warn%;\ /repeat -%lampatick 1 /_lampa_warn%;\
/endif%;\ /endif%;\
/set freshoil=0 /set freshoil=0
@ -75,6 +76,7 @@
/tbind lampa_off_cmd /tbind lampa_off_cmd
/def -mregexp -p2 -t'Dopelniasz .*lampe .*olej' light_on3 = \ /def -mregexp -p2 -t'Dopelniasz .*lampe .*olej' light_on3 = \
/set freshoil=1%;\ /set freshoil=1%;\
/rstop /_lampa_warn%;\
/repeat -%lampatick 1 /_lampa_warn /repeat -%lampatick 1 /_lampa_warn
/def -mregexp -p2 -t'lampa .*wypala sie i gasnie' light_off0 = \ /def -mregexp -p2 -t'lampa .*wypala sie i gasnie' light_off0 = \
/rstop /_lampa_warn%;\ /rstop /_lampa_warn%;\