I'm not sure this is even possible le without massive code rewrites. Just an FYI, the /iseach function only searches a saved inventory list updated when you access the retainers inventory. It doesn't check the actual inventory. This kind of hints at how disconnected retainer inventory is from the rest of the game.