Hi , i'm relatively new to TSS and even more so to scripting lua.

I'm trying to work out whether it's possible to detect which card has been played by a player from their hand to a script zone. Then for this card and any underneath to be automatically moved to another zone.
For context i'm coding a version of sh1thead/karma and when a 10 is played, the 10 and the discard pile below are burned from the game completely. I'd like for this to happen automatically rather than having to pick the deck up, flip it, and move it manually.

However, after extensive google and forum searches either i'm missing the crucial key phrases or am failing to find anything.

Many thanks for any help in pointing me in the right direction with this.