"_x ordergetin TRUE" foreach units groupname
That's the right idea jojojoni, the syntax is slightly wrong though
Try:
(units
groupname) ordergetin true
The
ordergetin command needs an array of units (which is what
units groupname is. So to use it on a whole group, you don't need a foreach command.
To use it on just one unit, the command would be:
[
unit ] ordergetin true
Notice the [ ]. It still has to be an array, even if there is only one unit in that array