Shoutbox

An idea if it wasnt there :) - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: An idea if it wasnt there :) (/showthread.php?tid=85092)

An idea if it wasnt there :) by dr34m3r on 07-31-2008 at 12:16 AM

Hello, I was thinking if there was a script that copies another person's PM and put it on my PM

Cuz i have 2 emails one for xbox live and the 2nd one for chatting

and i always write on my PM For example "Playing on XBOX LIVE"

so i think that if there was a script that copies other's PM i could've copied my XBOX LIVE PM on my CHATTING EMAIL's PM :)

what do u think ?

The whole idea is "copying someone's PM to ur PM"


RE: An idea if it wasnt there :) by roflmao456 on 07-31-2008 at 02:51 AM

i have made a script like this, but formatted my computer so i lost it lol:P

anyway here's the code (non-tested, all from heart):

code:
var XboxEmail = "lol@whatever.com";
var lastpsm = "";

function OnEvent_SigninReady(){
var Contact = Messenger.MyContacts.GetContact(XboxEmail);
if(Contact.Status != 1){
lastpsm = Messenger.MyPersonalMessage;
Messenger.MyPersonalMessage = Contact.PersonalMessage;
}
}
function OnEvent_Initialize(s){
if(!s) OnEvent_SigninReady();
}
function OnEvent_ContactSignin(email){
if(email == XboxEmail) OnEvent_SigninReady();
}
function OnEvent_ContactSignout(email){
if(email == XboxEmail) Messenger.MyPersonalMessage = lastpsm;
}


when Xbox Live signs into your account, the personal message would be similar to:

Xbox 360: Dashboard (gamertag)
RE: An idea if it wasnt there :) by dr34m3r on 07-31-2008 at 01:33 PM

hmm Ok thanks alot :) but im really not into scripting

can u do it and post it ?

:) i know nothing about these things .. !!

:P


RE: An idea if it wasnt there :) by roflmao456 on 07-31-2008 at 02:26 PM

here you go:

- added a window to configure


RE: An idea if it wasnt there :) by dr34m3r on 07-31-2008 at 05:41 PM

Thanks alot bro ...

but it didnt work.. i also tried re-signing in my Xbox live account ... didnt work @_@


OK it worked when i re-signed in on my Chatting email :) thanks alot ! :) Thank you for ur help ..
Ops .. another problem

when i play a game .. my PM doesnt Update or stay on what it was .. it just removes the PM and stay empty
RE: An idea if it wasnt there :) by roflmao456 on 07-31-2008 at 05:54 PM

it works fine here


RE: An idea if it wasnt there :) by dr34m3r on 07-31-2008 at 05:57 PM

hmm well ... try it more ..

when i was on the dashboard .. it works ok .. but when i played COD 4 ... and my XBOX email changed ... my chatting email just removed the PM .. and didnt update =o


RE: An idea if it wasnt there :) by prashker on 07-31-2008 at 05:59 PM

This is great, i'll have to change my Xbox Live ID email to something else but this is amazing.

I wanted it to show but not actually talk on the 360 :p


RE: An idea if it wasnt there :) by dr34m3r on 07-31-2008 at 06:04 PM

Yeah SonicSam :p i wanted this too .. can u try it and tell us if it works ok or not ?


RE: An idea if it wasnt there :) by prashker on 07-31-2008 at 06:08 PM

I'll get to it sometime, i'm busy now though :p

I may set a parental account to my current email...and a new email for the "kids" account which will redirect to the current email which will in turn still let me view all the emails easy :p


RE: An idea if it wasnt there :) by dr34m3r on 07-31-2008 at 07:28 PM

Hmm ok :)

roflmao456 maybe u should make it update automatically ? when the XBOX Email changes PSM ?


RE: An idea if it wasnt there :) by matty on 08-01-2008 at 03:16 AM

Look for this script in the upcoming few days. Any suggestions or things you may like to see added let me know.

[Image: attachment.php?pid=919532]


RE: An idea if it wasnt there :) by prashker on 08-01-2008 at 04:19 AM

Will forward incoming messages open a new window?


RE: An idea if it wasnt there :) by matty on 08-01-2008 at 11:13 AM

Forward messages will open a window on your laptop and send a message to the specified WLM address used for Xbox which SHOULD show at the bottom of the screen correct? Never actually used it.


RE: An idea if it wasnt there :) by dr34m3r on 08-01-2008 at 12:36 PM

Great script Matty !! will help alot of people

Maybe you can add :

"we can edit the PSM color that will be taken from the XBOX LIVE EMAIL" :) so the script can be full and cool

just like other script ... like chat counter : "u can do like this
[c=4]%online[/c]"

the same but on the copied PSM :)


Oh another idea, if we didnt do anything on the xbox for 10 mins

(the xbox live email PSM) didnt change for 10 mins

the Chatting email Changes to

Xbox 360: Dashboard (gamertag) - Away for 10 minutes

:) and after the 10 minutes .. every minute counts .. like

after a minute .. away for 11 minutes

away for 12 minutes

and when we start a game and play

the XBOX EMAIL PSM will be Xbox 360: Call of duty 4 (gamertag)

So the Away sentence will be removed on the chatting email




i can be an arabic translator for the script :)
RE: An idea if it wasnt there :) by matty on 08-01-2008 at 12:46 PM

I didn't want this to be a full blown out script... just something that would work.

The XBox changes the PSM correct? I haven't actually tested this yet.


RE: An idea if it wasnt there :) by dr34m3r on 08-01-2008 at 01:05 PM

Yeah the XBOX when u connect online

Signs in automatically to MESSENGER and Changes the PM to : Xbox 360: Dashboard (gamertag) and when u play a game .. it removes the old PSM then puts a new PSM like this

Xbox 360: Game Name (gamertag)

thats the problem of the previous script that roflmao made

When the PSM removes the Xbox 360: Dashboard (gamertag) and put the game Xbox 360: Gamename (gamertag)

It just removes the PSM and doesnt update :)


RE: An idea if it wasnt there :) by aNILEator on 08-01-2008 at 01:07 PM

wow looks lush!


RE: An idea if it wasnt there :) by matty on 08-01-2008 at 11:30 PM

Here is version 0.1.

Since it is the first release and I haven't tested it yet please let me know if you find any bugs.

Currently only an English translation is available and there are 2 features (mimic the PSM and forward messages to the xbox console).

Messages are capped at 60 characters in length. 10 for the username 43 for the message and 7 for the ' says: '.


RE: An idea if it wasnt there :) by dr34m3r on 08-02-2008 at 12:08 AM

Ok thanks matty

i've tested it

1- when i configure it .. and choose the email i want .. it copies PSM of anyone who signs in <- not the email i've chosen

2- when i signed in on my xbox and it copied my xbox live email's PSM ... it just copied it once .. it doesnt update ..

3- what is the forward incoming messages for ?.. if its for sending xbox  email's incoming messages to the real email .. then i wont work ... because the xbox  email connects in the xbox not the computer :)


RE: An idea if it wasnt there :) by roflmao456 on 08-02-2008 at 12:16 AM

bug: pressing save on the config then opening again doesn't show the email that you picked..

i set it to copy my other account's psm, but instead when my cousin signed in and messaged me,  my psm changed to his :P

quote:
3- what is the forward incoming messages for ?.. if its for sending xbox  email's incoming messages to the real email .. then i wont work ... because the xbox  email connects in the xbox not the computer (Smilie)

when people send you a message on your real account, it will forward it to the xbox one
RE: An idea if it wasnt there :) by dr34m3r on 08-02-2008 at 12:21 AM

Oh I see :D ok Thank you

Yeah that's right The config doesnt work or save the email .. it just copies PSM of anyone who signs in after u click ok :)

and the PSM doesnt update when the PSM changes


RE: An idea if it wasnt there :) by matty on 08-02-2008 at 12:36 AM

Update 0.2

I forgot to add in the code to check if the feature is enabled or disabled. The PsmChange should be detected as the code is there.

code:
function OnEvent_ContactPsmChange ( sEmail, sPsm ) { if ( EmailToMsnId ( sEmail ) === oPreferences['cOpt1'] && bEnabled === true && oPreferences['cOpt2'] === 1 ) Messenger.MyPersonalMessage = sPsm; }

RE: An idea if it wasnt there :) by dr34m3r on 08-02-2008 at 02:24 AM

Sorry but on 0.2 it doesnt even copy the PSM

i think that when u choose the email and click on mimic then save ... there is a problem ... cuz it should save the chosen email .. and whenever i go back to the config i see the chosen email .. but its like everytime i go to the config .. it resets


RE: An idea if it wasnt there :) by matty on 08-03-2008 at 01:04 PM

Shows how long it has been since I have programmed... stupid mistakes.

Try this one v0.3.


RE: An idea if it wasnt there :) by dr34m3r on 08-03-2008 at 01:39 PM

Thanks .. but still doesnt copy PSM

When i choose the email and press SAVE .. nothing happens .. when i go back to the config .. its empty .. like i didnt choose email :)

Tried to re-sign in on the xbox acc .. didnt copy PSM :)


RE: An idea if it wasnt there :) by Eddie on 08-03-2008 at 02:39 PM

Is there any way you could make a script like this, that grabs the "now playing" information from a website, instead of having to change the e-mail address on my xbox account *-)


RE: An idea if it wasnt there :) by dr34m3r on 08-03-2008 at 02:45 PM

Why now playin information ? copies any contact's PSM in ur list O_O !! ofcourse it is possible


RE: An idea if it wasnt there :) by matty on 08-06-2008 at 05:26 AM

0.4


RE: An idea if it wasnt there :) by dr34m3r on 08-09-2008 at 11:14 PM

great job matty !!!

the mimic works greaT !! but the msg forwarding doesnt work :) !! thanks


RE: An idea if it wasnt there :) by dr34m3r on 08-10-2008 at 01:01 AM

Ok i noticed something

when the other email's psm for example = blahblah

it copies the email's psm with no problem ... and when the other email changes the PSM to for example = booboo ... it copies the new psm with no problem

but when i go back to the config and uncheck the mimic box
the psm goes back to the old email's psm = blahblah

and everytime i delete the PSM and the mimic unchecked ofcourse

it changes the psm back to the old psm of the other email = blahblah

even if the mimic is unchecked ,, it still copies the psm but no not copy but it changes the psm to the old psm = blahblan

hope u understand .. u can try it with 2 emails ..


RE: An idea if it wasnt there :) by Eddie on 08-15-2008 at 10:20 AM

It does not work at all for me :(