Hi, i made a script so that i could run apps remotely on my computer, its simple actually, the thing is, i want it o be able only to one email... my secconadary account...
here's the code (doesn't work) anyone knows why?
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
var Contact = ChatWnd.Contacts;
var e = new Enumerator(Contact);
if (e < 2){
if (Contact.Email == 'remotocasa@hotmail.com') {
//PROGRAMAS
if(Message == "!runNotepad"){
ChatWnd.SendMessage("/run c:\\windows\\notepad.exe");
ChatWnd.SendMessage("Notepad open");
}
if(Message == "!runMusic"){
ChatWnd.SendMessage("/run c:\\music.mp3");
ChatWnd.SendMessage("Listenning music");
}
if(Message == "!runNudge"){
ChatWnd.SendMessage("/nudge");
}
}
}
}
if i remove the email verification it works fine... but i dont seem to be able to make this email thing to work!!
HELLPP