function Window.AddLine(g,q,n)n=n or{}q=tostring(q)if typeof(n)=="\067\111\108\111\114\051"then n={Color=n}end if#q==0 then Window:UpdateWindowHeight()return end local M=g.Cmdr.Util.EmulateTabstops(q or"\110\105\108",8)local N=Line:Clone()N.Text=M N.TextColor3=n.Color or N.TextColor3 N.RichText=n.RichText or false N.Parent=Gui end

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
