Not 100% sure, but this probably would require some server plugin. So sorry that's not really going to work.
Alternatively, if you only wanted them to go one way, and they were always moving the whole time they were in the area then you could kind of achieve this effect by using a trigger push. But that's probably not what you want.