Rev 2290 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | thcomp= |
||
3 | thr=!record 0 of $forumdir/.threads/$th_orig |
||
4 | th_start=!translate / to _ in $th_start |
||
5 | thtcnt=!linecnt $thr |
||
6 | count_$th_orig=0 |
||
7 | !for i=1 to $thtcnt |
||
13679 | bpr | 8 | l=!line $i of $thr |
9 | l=!translate / to _ in $l |
||
10 | !distribute word $l into a_,b_ |
||
11 | !if $a_=$th_start |
||
12 | startnum=$i |
||
13 | !endif |
||
14 | count_$a_=$i |
||
15 | F_$(count_$b_)=!append item $i to $(F_$(count_$b_)) |
||
16 | a_=!translate _ to $ $ in $a_ |
||
17 | thcomp=!append line $a_ to $thcomp |
||
23 | reyssat | 18 | !next i |
19 | |||
20 | !if $startnum=$empty |
||
13679 | bpr | 21 | startnum=0 |
22 | th_start=$th_orig |
||
23 | reyssat | 23 | !endif |
24 | |||
25 | s_=!translate /_ to ,, in $th_start |
||
26 | !distribute item $s_ into o1,o2 |