2013-10-30 22:26:51 +04:00
|
|
|
!:
|
|
|
|
:: /=main=/lib/chat/hoon
|
|
|
|
::
|
|
|
|
|%
|
|
|
|
++ chat :: user action
|
|
|
|
$% [%all p=? q=mess] :: broadcast
|
2013-11-08 04:34:44 +04:00
|
|
|
[%def p=mess] :: default
|
2013-10-30 22:26:51 +04:00
|
|
|
[%how ~] :: help
|
|
|
|
[%out ~] :: log out
|
|
|
|
[%say p=@p q=mess] :: private
|
|
|
|
[%who ~] :: query users
|
|
|
|
== ::
|
2013-12-09 01:23:03 +04:00
|
|
|
++ mess :: message
|
2013-10-30 22:26:51 +04:00
|
|
|
$% [%do p=@t] :: action
|
|
|
|
[%ex p=@t q=tank] :: expression
|
|
|
|
[%qu p=@t] :: quote
|
|
|
|
== ::
|
2013-11-08 04:34:44 +04:00
|
|
|
++ sand :: chat state
|
|
|
|
$% [& p=?] :: broadcast
|
|
|
|
[| p=@p] :: private
|
|
|
|
== ::
|
2013-10-30 22:26:51 +04:00
|
|
|
++ 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
|
2013-12-09 01:23:03 +04:00
|
|
|
[%who p=(list user)] :: users
|
2013-10-30 22:26:51 +04:00
|
|
|
== ::
|
|
|
|
--
|