How to make an event that deletes all items in players inventory

Just for dev purposes, I want to make an event that will delete all items in the players inventory when it is interacted with. Anyone know how I can go about this?
script call.

$game_party.init_all_items
script call.

$game_party.init_all_items
Thank you man it worked! ^-^

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-an-event-that-deletes-all-items-in-players-inventory.119116/