What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How to use Personal Nick with an Msagent

How to use Personal Nick with an Msagent
Author: Message:
shadetoll
New Member
*


Posts: 3
Joined: May 2007
O.P. How to use Personal Nick with an Msagent
hi,

Sry, if it's already existing post but I didn't find one.


I'm using a Ms Agent for alert Messenger.

Like OnEvent_ContactSignin ....



But i've a problem with "Messenger.MyContacts.GetContact(Email)"
code:
function OnEvent_ContactSignin(Email){
var contact = Email;
signedincontact = Messenger.MyContacts.GetContact(contact);
    if(signedincontact.Blocked!=true){
        merlin.Show();
        merlin.Play("GetAttention");
        merlin.Play("GetAttentionReturn");
        merlin.Play("RestPose");
        merlin.Speak(signedincontact.Name+" s'est connecté.");
        merlin.Hide();
    }
}


Because it gives me "[38]j[/38]igaan[38] ....

And I would have only  my personnal Nickname that i've given to some friends.

Who uses special character.


Ty for your help.

This post was edited on 05-28-2007 at 01:57 PM by shadetoll.
05-28-2007 01:49 PM
Profile E-Mail PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: How to use Personal Nick with an Msagent
look up: MsgPlus.RemoveFormatCodes()

quote:
The MsgPlus::RemoveFormatCodes function removes Messenger Plus! Live formatting attributes from a string.

You can't access messengers personalised nicknames through scripts.
05-28-2007 02:06 PM
Profile E-Mail PM Web Find Quote Report
shadetoll
New Member
*


Posts: 3
Joined: May 2007
O.P. RE: How to use Personal Nick with an Msagent
tks

and for smiley ?


Can I say that i must ignore char like  { _ - [  .... ?
05-28-2007 02:13 PM
Profile E-Mail PM 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