-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkom.jml
54 lines (43 loc) · 1.1 KB
/
kom.jml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[-- kom --]
[-- macro kom-new $gid $urtid $commenting @text --]
[-- TODO: conflict?]
[-- gtid?]
[macro kom-new-id $gid $aid]
kom-G$gid-T[scs [time]]-A$aid
[/macro]
[macro kom-author $gtid]
[match -A(.*) $gtid]
[/macro]
[macro datasaveid $id @data]
[ignore [data $id @data]]$id
[/macro]
[macro kom-new $gid $aid @text]
[datasaveid [kom-new-id $gid $aid] @text]
[/macro]
[-- TODO: each data is time stamped=ftime, redundant... hmmm. if part of ID...]
[macro kom-text $gtid]
<b>[kom-author $gtid]</b>
at [hhmm [ftime $gtid]]:<br/>
[data-$gtid] [-- TODO: iframe? --]
<hr noshade>
[/macro]
[macro kom-group chat-list $gid]
[map kom-text [datas kom-$gid-]]
[/macro]
[macro /kom-new-text $gid @msg]
[/kom-group $chan [ignore [kom-new $gid [cookie user] @msg]]]
[/macro]
[macro /kom-group $gid]
[sys-header [button-active /kom Kom] / $gid]
[kom-group $gid]
<ul>
[form /kom-new [hidden gid $gid]
[b New Post:]<br>
[textarea-mini text]
[submit send]]
</ul>
[footer]
[/macro]
[macro /kom $gid]
[[if [empty $gid] kom-list-unread kom-group] $gid]
[/macro]