What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Song msg send

[Request] Song msg send
Author: Message:
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: [Request] Song msg send
code:
var array = new Array();
array['Blur - Tracy Jacks'] = "i like that song";

function OnEvent_ContactMediaChange(sEmail,sNewMedia){
    var sNewMedia_array = sNewMedia.split("\\0");
        for(var i in array){
            if(i == sNewMedia_array[5] + " - " + sNewMedia_array[4]){
                MsgPlus.DisplayToast("Contact is playing", i + "\n\nClick to send:\n" +array[i], null , "ToastClick", new Array(sEmail,array[i],i))
}}}

function ToastClick(pArray){
    chatwnd = Messenger.OpenChat(pArray[0]).SendMessage(pArray[1])
}
This should more or less work,
add more to the array up the top

This post was edited on 09-11-2006 at 05:47 PM by Veggie.
09-10-2006 11:33 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] Song msg send - by ombadboy on 09-10-2006 at 02:14 PM
RE: [Request] Song msg send - by Shondoit on 09-10-2006 at 08:17 PM
RE: [Request] Song msg send - by Veggie on 09-10-2006 at 11:33 PM
RE: [Request] Song msg send - by ombadboy on 09-11-2006 at 05: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