WARNING! BUG!
code:
if (Origin === Messenger.MyContacts.GetContact(list[i].Name)
should be:
code:
if (Origin === Messenger.MyContacts.GetContact(list[i]).Name)
Your code would fail because:
- You've placed the .Name inside the GetContact() function.
- You've forgot the end ) for the if-statement
Note: You will be able to ignore contacts in StuffPlug 3, which will be released soon. It will let them send you messages and you won't notice it, it won't even be saved in the logs!
So if you can wait a little bit longer...