This commit is contained in:
Bartek Stalewski 2018-07-06 01:00:02 +02:00
parent b740aa0ae6
commit d0170dc8fb

View File

@ -1,7 +1,7 @@
; postepy ; postepy
/set _postepy_max=19 /set _postepy_max=19
/set _postepy_list=\ /set _postepy_list=\
logowanie|\ start/restart|\
znikome|\ znikome|\
minimalne|\ minimalne|\
mizerne|\ mizerne|\
@ -25,9 +25,9 @@
/def postepy = \ /def postepy = \
/if ({1} =~ "reset") \ /if ({1} =~ "reset") \
/set _postepy_last_reset_time=$[ftime("%H:%M", time())]%;\ /set _postepy_czas_0=$[ftime("%H:%M", time())]%;\
/set _postepy_last_reset_own=%ownkills%;\ /set _postepy_own_0=%ownkills%;\
/set _postepy_last_reset_all=%allkills%;\ /set _postepy_all_0=%allkills%;\
/test ++_postepy_reset_counter%;\ /test ++_postepy_reset_counter%;\
/set _postepy_current=0%;\ /set _postepy_current=0%;\
/send postepy reset%;\ /send postepy reset%;\
@ -36,10 +36,6 @@
/echo +---------------+-------------------+%;\ /echo +---------------+-------------------+%;\
/echo $[strcat("| ", pad("cykl", -14), "|", pad({_postepy_reset_counter}, 18), " |")]%;\ /echo $[strcat("| ", pad("cykl", -14), "|", pad({_postepy_reset_counter}, 18), " |")]%;\
/echo +---------------+-------+-----+-----+%; \ /echo +---------------+-------+-----+-----+%; \
/if ({_postepy_reset_counter} > 1) \
/echo $[strcat("| ", pad("ostatni reset",-14), "| ", pad({_postepy_last_reset_time},5), " |", pad({_postepy_last_reset_own},4), " |", pad({_postepy_last_reset_all},4), " |")]%;\
/echo +---------------+-------+-----+-----+%;\
/endif %;\
/while ({__index}<={_postepy_current}) \ /while ({__index}<={_postepy_current}) \
/let __postep=$[_get_element({__index}, {_postepy_list})]%;\ /let __postep=$[_get_element({__index}, {_postepy_list})]%;\
/let __czas=$(/listvar -v _postepy_czas_$[strcat({__index})])%;\ /let __czas=$(/listvar -v _postepy_czas_$[strcat({__index})])%;\