code:
function OnEvent_Initialize(MessengerStart){
if(Messenger.MyStatus > 1){
OnEvent_SigninReady(Messenger.MyEmail);
}
}
function OnEvent_SigninReady(Email){
var v = "Persons@email.com"
if(Messenger.MyContacts.GetContact(v).Status >= 3)){
Messenger.OpenChat(v).SendMessage("/nudge");
}
}
function OnEvent_ContactSignin(Email){
if (Email == "Persons@email.com"){
Messenger.OpenChat(Email).SendMessage("/nudge");
}
}
This should be right. Try to see the changes I've made.
The status property can be either the CONSTANT or the numerical value, although the constant is only supported in 4.60(?) and higher. The status should be either 3 or a higher number if the contact is online. Also, if you're going to use a variable such as v, it's probably best to use it for more than one line OR leave it as a string instead of assigning it altogether. Seeing as you need to use the email address twice, you can set the variable. I added the OnInitialize function for a very good reason. Lets see if you can tell me why