What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Code Help

Code Help
Author: Message:
MicroWay
Senior Member
****

Avatar
Do you want me? Try to get me!

Posts: 571
Reputation: 16
37 / Male / Flag
Joined: Jul 2006
Status: Away
O.P. Code Help
Hello people!!!
I'm trying to use this script with Rapidshare. I'm not good on scripting and I know it can sound strange, but what I'm trying to make is a script that you enter RapidShare URL with de code (that begin with /) and after 16 minutes it'll open the URL.
Don't know what's happening with it -> Nothing on Debugging

jscript code:
function OnGetScriptCommands(){
var ScriptCommands = "<ScriptCommands>";
ScriptCommands += "<Command>";
ScriptCommands += "<Name>rapiddown</Name>";
ScriptCommands += "<Description>Colocar URL</Description>";
ScriptCommands += "<Parameters>&lt;URL&gt;</Parameters>";
ScriptCommands += "</Command>";
ScriptCommands += "</ScriptCommands>";

return ScriptCommands;
}


function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
if (Message.substr(0, 11) == "/rapiddown "){
var truedown = Message.substr(Message.search(' '));
downloadtime();
return "";
}
}


function downloadtime()
{
MsgPlus.AddTimer("timer", 960000);
MsgPlus.DisplayToast("RapidDown","16 minutos para novo download");
}

function OnEvent_Timer(timerID, truedown)
{
if(timerID == "timer")
{
MsgPlus.DisplayToast("RapidDown", "Abrindo link!");
Operurl(truedown);
}

function Openurl(truedown)
{
    new ActiveXObject('WScript.Shell').Run(truedown);

   
    }
}

Thanks
;)



PS: truedown is the URL I typed with "/" code!!!
PS2: If someone wants to use the code, be free to use it

This post was edited on 12-07-2008 at 05:54 AM by MicroWay.
12-07-2008 05:50 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Code Help - by MicroWay on 12-07-2008 at 05:50 AM
RE: Code Help - by Felu on 12-07-2008 at 06:50 AM
RE: Code Help - by Spunky on 12-08-2008 at 07:41 AM
RE: Code Help - by Felu on 12-08-2008 at 09:52 AM
RE: Code Help - by Spunky on 12-08-2008 at 11:28 AM
RE: Code Help - by MicroWay on 12-10-2008 at 10:01 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On