or download this
Some concerns:
1) are you suggesting reading this : "task=B pretask=makeAServerdown p
+osttask=checkBServer" from some text file. or hardcoding in code? I a
+m assuming text file for now.
...
print('just a block for fun: ' . $i . "\n");
}