O.P. Need help!
I'm new to scripting....so can someone tell me why this isn't working? XD
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if(Message="/whoihave"){
var kisiler = Messenger.MyContacts;
var c;
var emessage = "Online Contact List:\n";
for(var counter=1,counter<=kisiler.length,counter++){
var enume = new Enumerator(kisiler[counter])
c = enume.item();
if(c.Status == 3){
emessage = emessage+c.Email+"\n";
}
SendMessage(emessage);
}
}
Basically I want it to put every email address of my online group into a message then send it
|