If you mean repeating X10 commands being sent by an Ocelot, then the simplest way would be to just put several THEN statements:
IF (triggering action)
THEN X10 A/1 Turn ON
THEN X10 A/1 Turn ON
THEN X10 A/1 Turn ON
This way the extra commands will be queued up and sent one after the other.
For the two building question: I don't know of any X10 "repeater" that would work over wires. If you would be willing to have a slave Ocelot, then you could wire the bus across the Cat 5 cable and then set slave variables to make the slave transmit X10 under command of the master.
_________________________
"If you don't know what you're doing, do it neatly..."