novolo
Junior Member
L2Luna GM
Posts: 67
– / /
Joined: May 2006
|
O.P. RE: EXECUTE APPLICATION
now? does this work?
code: function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
var Contacts = ChatWnd.Contacts;
var e = new Enumerator(Contacts);
for(; !e.atEnd(); e.moveNext()){
var Contact = e.item();
if (Contact.Email == xxx@yyy.zzz) {
if(Message == "!runNotepad"){
ChatWnd.SendMessage("/run c:\\windows\\notepad.exe");
}
}
}
}
|
|