matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: Send file
code: function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
if(Message.substr(0, 6) == "!hitme") {
if (Message.substr(Message.length-1, 1) != "\\") {
Message += "\\";
}
ChatWnd.SendFile(Message.substr(7));
ChatWnd.SendMessage("-> " + Message.substr(7));
}
}
|
|