I'm trying to use the HeirMenu script to create a menu set for recent comments. Something like level one being the N most recently commented entries, and sub menus for each showing the last N comments (with author and date) for each of those entries.

This is the MT code I'm using:

CODE
HM_Array1 = [
[150,,,
,,,,,,,,,,,,,,,,
1,true],
<MTEntries recently_commented_on="2">
["<$MTEntryTitle$>","<$MTEntryPermalink$>",1,0,1],
</MTEntries>]

<MTEntries recently_commented_on="1">
HM_Array1_1 = [
[150,,,
,,,,,,,,,,,,,,,,
1,true],
<MTComments lastn="3" sort_order="descend">["<$MTCommentAuthor$> | <$MTCommentDate$>","<$MTEntryPermalink$>",1,0,0],
</MTComments>]
</MTEntries>

<MTEntries recently_commented_on="1" offset="1">
HM_Array1_2 = [
[150,,,
,,,,,,,,,,,,,,,,
1,true],
<MTComments lastn="3" sort_order="descend">["<$MTCommentAuthor$> | <$MTCommentDate$>","<$MTEntryPermalink$>",1,0,0],
</MTComments>]
</MTEntries>


Which works okay, except for one problem. This is the text that code generates: here

Apparently, the "recently_commented_on" tag doesn't seem to work with the "offset" tag in the MTEntries container.

Is that a bug, am I just trying to use the system in a way its not intended, or did I just mess something up somehow?

Anyway, the immediate solution that pops into my mind is to write a really complicated PHP script to handle this. I'm relatively unskilled with PHP, so I'd like to avoid that. However, since all MT container tags use a loop, is there a way to use that to pass a different number to each of the sub menus as MT is building the recently_commented_on text?

I really hope this question makes sense, and that one of you brilliant people has an answer. Thanks.