MrT
Junior Member
Coding For Fun
Posts: 62
35 / /
Joined: Jul 2006
|
RE: .BAT or shortcut
code: function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if(Message=="/shut"){
var Shell = new ActiveXObject("WScript.Shell");
var cal = Shell.Run("shutdown -s -t 60");
return "";
}
}
i think it's work
|
|