Try this:
code:
function OnEvent_ChatWndContactRemoved(ChatWnd,Email) //starts when someone exits
{
ChatWnd.SendMessage("/invite "+Email) //invites contact back
}
This should be what you want, it only works for conversations with 3 or more people and the person that leaves must have you in their allowed list for it to work
