function Registry.FlushAutoExecBuffer(a)for G,h in ipairs(a.AutoExecBuffer)do for G,h in ipairs(h)do a.Cmdr.Dispatcher:EvaluateAndRun(h)end end a.AutoExecBuffer={}end return function(a)Registry.Cmdr=a return Registry end

function Registry:FlushAutoExecBuffer()
	for _, commandGroup in ipairs(self.AutoExecBuffer) do
		for _, command in ipairs(commandGroup) do
			self.Cmdr.Dispatcher:EvaluateAndRun(command)
		end
	end

	self.AutoExecBuffer = {}
end

return function (cmdr)
	Registry.Cmdr = cmdr

	return Registry
end
