So, tp trapping is becoming really a pain in the ass, and there's too many ways of doing it, example "Endportal" "Pistons", so for pistons, maybe you could make this, Testfor player standing on specific coordinatesfrequently/mutliple times, do something like, if your not tp trapped, type "h" in chat or something,
And for the coordinates it would be that, if you example, stand on x1 y0 z0 an..
See more