CIRCNetwork.onInvite Member
invite message
Syntax
object.onInvite(e);
Arguments
Argument | Summary |
---|---|
e |
Returns
Remarks
See Also
Source Code
function my_invite (e)
{
client.munger.getRule(".inline-buttons").enabled = true;
this.display(getMsg(MSG_INVITE_YOU, [e.user.unicodeName, e.user.name,
e.user.host,
e.channel.unicodeName,
e.channel.unicodeName,
e.channel.getURL()]),
"INVITE");
client.munger.getRule(".inline-buttons").enabled = false;
if ("messages" in e.channel)
e.channel.join();
}