function Window.AddLine(l,g,h)h=h or{}g=tostring(g)if typeof(h)=="\067\111\108\111\114\051"then h={Color=h}end if#g==0 then Window:UpdateWindowHeight()return end local V=l.Cmdr.Util.EmulateTabstops(g or"\110\105\108",8)local G=Line:Clone()G.Text=V G.TextColor3=h.Color or G.TextColor3 G.RichText=h.RichText or false G.Parent=Gui end
--- Add a line to the command bar
function Window:AddLine(text, options)
	options = options or {}
	text = tostring(text)

	if typeof(options) == "Color3" then
		options = { Color = options }
	end

	if #text == 0 then
		Window:UpdateWindowHeight()
		return
	end

	local str = self.Cmdr.Util.EmulateTabstops(text or "nil", 8)

	local line = Line:Clone()
	line.Text = str
	line.TextColor3 = options.Color or line.TextColor3
	line.RichText = options.RichText or false
	line.Parent = Gui
end
