quote:
Originally posted by djnerve
posted the wrong code again sorry here we go
function OnEvent_Initialize(MessengerStart)
{
}
function OnEvent_ChatWndDestroyed( [object] ChatWnd );
var Message = "Fine! Leave Then!";
Message = MsgPlus.RemoveFormatCodes(Message);
wnd.SendMessage("test" + Message);
}
function OnEvent_Uninitialize(MessengerExit)
{
}
... OnEvent_ChatWndDestroyed is when YOU close the conversation window.