I set the item and exchange into this
setarray .@items, 20286, 20287, 20288, 20289, 20290, 20291, 20292;
setarray .@exchange, 20286, 20287, 20288, 20289, 20290, 20291, 20292;
Just make sure all your items exist in your database to check use @item <item_id> if it doesn't work then they will cause that error.
Yea i've check it its working but sometimes the errors shows out.