Fix scripts in inventory events' <context.inventory> tags

I cheated.
I think I said this wasn't possible?
I lied.
Oops.
Lol.