I wanted a guard to take all player's items and then put them in the chest nearby.
Using this tutorial http://www.creationkit.com/RemoveAllItems_-_ObjectReference I just simply took one script:
Game.GetPlayer().RemoveAllItems(abRemoveQuestItems = true, akTransferTo = None)
Then I added the ID of the chest:
Game.GetPlayer().RemoveAllItems(abRemoveQuestItems = true, akTransferTo = MODChestValuablesGuard)
And it is not compiling any more.
What is my mistake?