mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 04:22:48 +03:00
4025898428
Run using find . -type f | xargs sed -i '\s\+$' And not even glanced at. It's fine. Don't worry about it.
36 lines
2.0 KiB
Plaintext
Executable File
36 lines
2.0 KiB
Plaintext
Executable File
!:
|
|
:: /=main=/lib/chat/hoon
|
|
::
|
|
|%
|
|
++ chat :: user action
|
|
$% [%all p=? q=mess] :: broadcast
|
|
[%def p=mess] :: default
|
|
[%how ~] :: help
|
|
[%out ~] :: log out
|
|
[%say p=@p q=mess] :: private
|
|
[%who ~] :: query users
|
|
== ::
|
|
++ mess :: message
|
|
$% [%do p=@t] :: action
|
|
[%ex p=@t q=tank] :: expression
|
|
[%qu p=@t] :: quote
|
|
== ::
|
|
++ sand :: chat state
|
|
$% [& p=?] :: broadcast
|
|
[| p=@p] :: private
|
|
== ::
|
|
++ user ,[p=@p q=@t] :: downstream identity
|
|
++ zing :: client to server
|
|
$% [%all p=? q=mess] :: broadcast
|
|
[%ego p=@da] :: ping / last active
|
|
[%out ~] :: log out
|
|
[%who ~] :: query users
|
|
== ::
|
|
++ zong :: server to client
|
|
$% [%all p=sect q=user r=mess] :: broadcast
|
|
[%new p=user] :: user joined
|
|
[%out p=user] :: user left
|
|
[%who p=(list user)] :: users
|
|
== ::
|
|
--
|