Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: [help!] how to make my own /sevil
code: function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if (Message.substr(0, 6) == "/sevil"){
return'/sound <Soundcode>'
}
}
function OnGetScriptCommands ()
{
commands = "<ScriptCommands>";
commands += "<Command>";
commands += "<Name>sevil</Name>";
commands += "<Description>Customized SEVIL</Description>";
commands += "</Command>";
commands += "</ScriptCommands>";
return commands;
}
|
|