The way you're doing it, with %k being the name of the [section] and %x being the number of items within that [section], it's displaying only the items within that [section]. The only way it would pull from other groups would be if you used $ini(commandfile,0) to identify the total number of [sections] and grabbed from other [sections] besides the one named after the current channel.