I can't seem to figure this out. I am trying to testfor if a player is near certain coordiantes, namely {-9, 100, 16}, and then to teleport them somewhere else.
In earlier versions it would be /testfor @a[x=-9,y=100,z=16,r=2]
in a repeating command block going into a chain conditional command block that says /tp @p ~8 ~ ~
, although it seems in 1.13 they have removed /testfor. I've seen that apparently I'm supposed to use /execute now in some way but I'm not sure how.