Instead of:
var %TimebombCurrentWire = $gettok(%TimebombTempWireChoices,$rand(1,%timeBombnumberOfWires),32)
try:
var %TimebombCurrentWire = $gettok(%TimebombTempWireChoices,$rand(1,$numtok(%TimebombTempWireChoices,32)),32)

(You want to pick a random wire out if all the remaining possible wires, not out of the first N of the possible wires, where N is the number of wires-to-pick)