CIRCUser.display Member

Displays a user-centric message on the most appropriate view.

Syntax

object.display(message, msgtype, sourceObj, destObj);

Arguments

ArgumentSummary
message
msgtype
sourceObj
destObj

Returns

Remarks

If the user view already exists (visible or hidden), messages are added to it; otherwise, it goes to the current view if the current view is part of the same network, or the network view if not.

See Also

Source Code

function usr_display(message, msgtype, sourceObj, destObj)
{
if ("messages" in this)
{
this.displayHere(message, msgtype, sourceObj, destObj);
}
else
{
var o = getObjectDetails(client.currentObject);
if (o.server && o.server.isConnected &&
o.network == this.parent.parent &&
client.currentObject.TYPE != "IRCUser")
client.currentObject.display(message, msgtype, sourceObj, destObj);
else
this.parent.parent.displayHere(message, msgtype, sourceObj,
destObj);
}
}