Scripting/Client/GUI/memobox.AddLine

Append a line (colour is not rendered yet) / empty the box.

Syntax

memobox.AddLine(text)
memobox.AddColouredLine(text, ...)
memobox.Clear()

Arguments

Example

function onScriptLoad()
{
	// memobox is a memobox handle (see Element methods)
	memobox.AddLine( "Hello world" );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Element methods

Categories: Client functions | Element methods