Is there any command that can locate me and do an action? I mean like you play a map, then you go to room and command block saw you and send a message in the chat. If there any commands like this please name it. Sorry for my bad english.
The /execute command. It finds where you are, then does a command depending on your position.
Thanks so much
Or to detect a player in a proximity, the /testfor command will find a player in a certain area.