Couldn't you use c_Scan? I don't know much about it, but you could use it to detect the blocks from a distance. Then you could use the "you" parameter to change whatever you want, as long as they are entities or models.
If I am posting, it probably means I am asking a question. Or faking my knowledge by agreeing with somebody else.