mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
Talk beeps when your ship's "first name" is mentioned while the %notify flag is set.
This commit is contained in:
parent
fa797a9907
commit
8f3dc7445f
@ -289,6 +289,7 @@
|
||||
%- perk :~
|
||||
%noob
|
||||
%quiet
|
||||
%notify
|
||||
==
|
||||
++ work
|
||||
%+ knee *^work |. ~+
|
||||
@ -437,7 +438,15 @@
|
||||
++ sh-rend :: print on one line
|
||||
|= gam/telegram
|
||||
=+ lin=~(tr-line tr man.she settings.she gam)
|
||||
(sh-pass:(sh-fact %txt lin) q.q.gam)
|
||||
=+ nom=(scag 7 (cite our.hid))
|
||||
%. q.q.gam
|
||||
=< sh-pass
|
||||
%. [%txt lin]
|
||||
?: ?& (~(has in settings.she) %notify)
|
||||
(gth (fall (find nom lin) 0) 15)
|
||||
==
|
||||
sh-fact:(sh-fact %bel ~)
|
||||
sh-fact
|
||||
::
|
||||
++ sh-numb :: print msg number
|
||||
|= num/@ud
|
||||
|
Loading…
Reference in New Issue
Block a user