Place blocks in specific places to open a door?

yes. example: the order for the blocks is 39145. so on position 1 i set the int to 3 and the block 1 int to 3. on position 2 i set the int to 9 and the block to 9, ect.