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

!sendsong script
Author: Message:
mad_willsy
Junior Member
**


Posts: 21
33 / Male / Flag
Joined: Jan 2007
O.P. !sendsong script
hi, i know there are a few scripts with it intergated, but does anyone have a script that allows your contact to type !sendsong and it send song - cheers!
01-24-2007 07:57 PM
Profile PM Web Find Quote Report
Rolando
Veteran Member
*****

Avatar
Santasend

Posts: 1325
Reputation: 52
33 / Male / Flag
Joined: Feb 2006
RE: !sendsong script
http://shoutbox.menthix.net/showthread.php?tid=61021&page=1
[Image: sigxmascopy.png]
01-24-2007 08:08 PM
Profile PM Find Quote Report
mad_willsy
Junior Member
**


Posts: 21
33 / Male / Flag
Joined: Jan 2007
O.P. RE: !sendsong script
I tried that - too complicated for my friend that wants it....

I just need the snippet that does the !sendsong thing...

Put it another way....

How do you send a file using a script?
How do you make a script listen for a contact saying a set command?
How do you get the full file path of YOUR current playing media?
01-24-2007 08:51 PM
Profile PM Web Find Quote Report
Rolando
Veteran Member
*****

Avatar
Santasend

Posts: 1325
Reputation: 52
33 / Male / Flag
Joined: Feb 2006
RE: !sendsong script
I don't see how that script is complicated. All you need to do is type /sendsong

It has other features, but you can use that one :undecided:
[Image: sigxmascopy.png]
01-24-2007 09:08 PM
Profile PM Find Quote Report
mad_willsy
Junior Member
**


Posts: 21
33 / Male / Flag
Joined: Jan 2007
O.P. RE: !sendsong script
I have tried it, it doesn't work
Backthebulls.com - Free online games
Upload your own stuff - free!
01-25-2007 03:55 PM
Profile PM Web Find Quote Report
MrT
Junior Member
**

Coding For Fun

Posts: 62
35 / Male / Flag
Joined: Jul 2006
RE: !sendsong script
dt's now playing script(version: 1.2.6) can do this.
try again ;)
01-25-2007 06:13 PM
Profile E-Mail PM Web Find Quote Report
mad_willsy
Junior Member
**


Posts: 21
33 / Male / Flag
Joined: Jan 2007
O.P. RE: !sendsong script
I have got DT's now playing script working for my friend, however for me, I use SAM Broadcaster.


The Paths are stored as "E:\My Music\deejay playboy-im my dreams (who is dj carlee).mp3" by the player.

When I manualy edit the XML file to replace the \ with \\ and use a file with no special chars in its name, it works. How do i edit this to make the variable locationVar SendFile friendly!

Please no "bob's script does this", i wanna learn

[code]
function OnEvent_ChatWndReceiveMessage(wnd, origin, message)
{
    if(origin != Messenger.MyName){
    MsgPlus.AddTimer("MessagesTimer", 4000);
    file = MsgPlus.ScriptFilesPath + "\\output.xml";
    //Load the status of the script and the list of messages.
    XMLDoc = new ActiveXObject("Microsoft.XMLDOM");
    XMLDoc.aync = false;
    XMLDoc.load(file);
    //Load values from the xml file.
    version = XMLDoc.getElementsByTagName("version");
    timer = XMLDoc.getElementsByTagName("timer");
    artist = XMLDoc.getElementsByTagName("artist");
    title = XMLDoc.getElementsByTagName("title");
    played = XMLDoc.getElementsByTagName("played");
    playedVar = played[Math.floor(Math.random()*played.length)].text;
    location = XMLDoc.getElementsByTagName("location");
    locationVar = location[Math.floor(Math.random()*location.length)].text;
    if(message == "!test"){
    wnd.SendFile(locationVar);
    }
    }
}

Edit:
It works, it just stops some right click functions working till i close window. How do I avoid this?

This post was edited on 01-25-2007 at 07:38 PM by mad_willsy.
Backthebulls.com - Free online games
Upload your own stuff - free!
01-25-2007 06:43 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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