Hey silentdragon, i dont seem to be able to make the email verificaion work
the code is accepted and everything, but when i send a message from the email i want nothing happens...
this is the code:
code:
function OnEvent_ChatWndReceiveMessage(Wnd, Origin,Message,MessageKind){
var contacts = new Enumerator(Wnd.Contacts);
for (; !contacts.atEnd(); contacts.moveNext()){
var contact = contacts.item();
switch(contact){
case 'remotocasa@hotmail.com' :
MsgPlus.AddTimer('check',200);
break;
}
}
}
the thing is that nothing happens...
whats wrong?
EDIT: this is something i did, but doesn't work either...
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') {
MsgPlus.AddTimer('check',200);
}
}
}