That is rather subtle. I want a hammer that is less easy to drop on my foot. Not to mix metaphors.

Replacing the script command:
Code:
    echo -s r %r i %i d %d d2 %d2 d3 %d3 d4 %d4

Gives the output:
Code:
size: 5
r 5 i item1 d data1 d2 d3 5 d4 data1
r 3 i item2 d data2 d2 d3 4 d4 data2
r 2 i item5 d data5 d2 d3 3 d4 data5
r 2 i item3 d data3 d2 d3 2 d4 data3
r 1 i item4 d data4 d2 d3 1 d4 data4
testhash

That means that "$hget(testhash, %r).data" and "$hget(testhash, %i)" do what I want but "$hget(testhash, %r)" and "$hget(testhash, %i).data" don't.

Why is there a "$gettok(.., 44)" in Deega's solution? Would Join operate correctly on more channels than the network target max?