Thread:RhuariIdh/@comment-27723099-20151021204332

You asked for help with fixing a command in the chat while I was not active. Since Thorin's fix did not solve everything, I assume the problem still exists. As others told you, I'd be the best to ask about command questions on this wiki.

Your (wrong) command:

/lotr_summon lotr.MordorOrcTrader ~0 ~1 ~0 {LOTRBuyTrades:[{id:17},[Cost:5]},LOTRSellTrades:[{id:17},[Cost:10]}

The mistake lies in the tybe of brackets. The NBT format uses curly brackets for all normal Compound tags and square brackets only for a List. A List is a number of tags without names. In your example the lists are LOTRBuyTrades and LOTRSellTrades because both can contain any number of unnamed compound tags for a single trade. All other brackets should be Compound tags.

Another mistake is that one trade entry must be a single compound tag, i.e. surrounded by curly brackets.

Fixed command:

/summon lotr.MordorOrcTrader ~ ~1 ~ {LOTRBuyTrades:[{id:17,Cost:5}],LOTRSellTrades:[{id:17,Cost:10}]}

I'm not sure if you have to specify the Count tag inb the item format. 