It did not seem to work, I put a
Code:
$npc->ClearItemList();
in the script right before a shout, I heard the shout but the merchant still had the same items. I am doing a script that dumps random items on the merchant and indeed the random items get loaded during the initial run, but never get cleared out before the next item load.