I found an old script that allows you to ignore somebody, the problem is, it's really unstable and once using the !unignore command, it will continue to ignore that person. I used to use stuffplug but since the 9.0 upgrade they haven't made a new version.
code:
var list = Array();
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind)
{
for (i=0; i<list.length;i++)
{
if (Origin === Messenger.MyContacts.GetContact(list[i]).Name)
{
ChatWnd.SendMessage("/close")
}
else
{
return Message;
}
}
}
function OnEvent_ChatWndSendMessage(ChatWnd,Message)
{
if (Message === "!ignore")
{
var ChatWndContacts = ChatWnd.Contacts;
if(ChatWndContacts.Count == 1)
{
var e = new Enumerator(ChatWndContacts);
var Contact = e.item();
list[list.length] = Contact.Email
}
return "";
ChatWnd.SendMessage("/close")
}
else if (Message === "!unignore")
{
var ChatWndContacts = ChatWnd.Contacts;
if(ChatWndContacts.Count == 1)
{
var e = new Enumerator(ChatWndContacts);
var Contact = e.item();
for (i=0;i<list.length;i++)
{
if(Contact.Name === list[i])
{
list[i] = "";
}
}
return "";
}
}
}
If anyone could help me I'd be very grateful, thank you.
I have no experience with scripts