Zmiana komunikatow o poczcie.
This commit is contained in:
parent
d413a95d0c
commit
c11ebe214c
3 changed files with 29 additions and 12 deletions
|
@ -12,38 +12,36 @@
|
|||
/endif %;\
|
||||
/elseif ({*} =~ 'clear') \
|
||||
/unset ogolne_poczta %;\
|
||||
/set poczta_show=none%;\
|
||||
/status_edit -r1 poczta_show:5:C%c_main %;\
|
||||
/set poczta_show=none %;\
|
||||
/endif
|
||||
|
||||
/def -mregexp -p2 -t'((Nie otrzymales|Nie masz) zadnych|Kasuje listy|(Zjadasz|Odkladasz) .*wiadomosc)' poczta_off0 = /poczta clear
|
||||
|
||||
/def -mregexp -Fp2 -t'^Czeka na ciebie (.*) poczta' _poczta_0 = \
|
||||
/set ogolne_poczta=$[strcat(ftime("%H:%M",time()),"Kogos lub Czegos (", {P1}, ")|")] %;\
|
||||
/beep 1 %;\
|
||||
/if ({poczta_show} !~ 'none' ) \
|
||||
/set poczta_show=MULTI%;\
|
||||
/set poczta_show=NEW+%;\
|
||||
/else \
|
||||
/set poczta_show=MAIL%;\
|
||||
/set poczta_show=NEW%;\
|
||||
/endif %;\
|
||||
/status_edit -r1 poczta_show:5:C%c_alarm
|
||||
|
||||
/def -mregexp -Fp2 -t'^Masz nowa poczte od (.*).' _poczta_1 = \
|
||||
/set ogolne_poczta=$[strcat({ogolne_poczta},ftime("%H:%M",time()),{P1},"|")] %;\
|
||||
/beep 1 %;\
|
||||
/if ({poczta_show} !~ 'none' ) \
|
||||
/set poczta_show=MULTI%;\
|
||||
/if ({poczta_show} !~ 'NEW' ) \
|
||||
/set poczta_show=NEW+%;\
|
||||
/else \
|
||||
/set poczta_show=MAIL%;\
|
||||
/set poczta_show=NEW%;\
|
||||
/endif %;\
|
||||
/status_edit -r1 poczta_show:5:C%c_alarm
|
||||
|
||||
/def -mregexp -Fp2 -t'^Masz nowy list.*od ([^ ]*), zatytulowany \'(.*)(\'|[^.]$)' _poczta_2 = \
|
||||
/set ogolne_poczta=$[strcat({ogolne_poczta},ftime("%H:%M",time()),{P1}," zatytulowany '",{P2},"'|")] %;\
|
||||
/beep 1 %;\
|
||||
/if ({poczta_show} !~ 'none' ) \
|
||||
/set poczta_show=MULTI%;\
|
||||
/if ({poczta_show} !~ 'NEW' ) \
|
||||
/set poczta_show=NEW+%;\
|
||||
/else \
|
||||
/set poczta_show=MAIL%;\
|
||||
/set poczta_show=NEW%;\
|
||||
/endif %;\
|
||||
/status_edit -r1 poczta_show:5:C%c_alarm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue