function Command.GatherArgumentValues(b)local y={}for V=1,#b.ArgumentDefinitions,1 do local S=b.Arguments[V]if S then y[V]=S:GetValue()elseif type(b.ArgumentDefinitions[V])=="\116\097\098\108\101"then y[V]=b.ArgumentDefinitions[V].Default end end return y,#b.ArgumentDefinitions end
--- Returns a table containing the parsed values for all of the arguments.
function Command:GatherArgumentValues()
	local values = {}

	for i = 1, #self.ArgumentDefinitions do
		local arg = self.Arguments[i]
		if arg then
			values[i] = arg:GetValue()
		elseif type(self.ArgumentDefinitions[i]) == "table" then
			values[i] = self.ArgumentDefinitions[i].Default
		end
	end

	return values, #self.ArgumentDefinitions
end
