That is because he has too much high range and he is asking for a certain spot or place.-_-
Oh, I know what you're thinking about now, but actually he was wondering on how to make it so the function got called directly when he get into the place so he don't have to type the command for it to work, not that it works in a to big range. But i understand that you understood it as the command worked to long away from the spot