if (var2.length >= 4)
{
var6 = parseIntWithMin(var1, var2[3], 1);
}
TaskRegistry.registerTask(new TickTaskPulseHelper(var11, new Point(var3, var4, var5), var6));
OutputHandler.chatConfirmation(var1, "Redstone Pulsed for " + var6 + " Ticks");
}
else
{
throw new WrongUsageException("/pulse <X> <Y> <Z> [PulseLength]", new Object[0]);