What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » [vb] getting own msn nick(without messenger api)

[vb] getting own msn nick(without messenger api)
Author: Message:
DJmorphine
Junior Member
**

Avatar

Posts: 35
37 / Male / –
Joined: Jun 2004
O.P. [vb] getting own msn nick(without messenger api)
Im making a plugin.. one of the function is that its replacing current nick with special unicode characters. To do that I need to get the friendly name. I can use  messenger api for that, the problem is that many poeple have problems with my plugin when I'm using that method becouse they have a not Or older version of messenger. Isnt there a way I can use msn plus commands or something so I can het my friendly nick without the use of the messenger api?

sorry for my bad english
06-29-2004 07:09 AM
Profile E-Mail PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: [vb] getting own msn nick(without messenger api)
You should try use the messenger api, it works, however there's a (very dodgy) work arround to this:

Say your command to do that is /xspecial_nick . Then when your plugin parses that command, it'll output /xspecial_nick2 (!NP) and then it parses xspecial_nick2 and you'll have the nick (and then you output the a /nick command to change the nick)
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
06-29-2004 08:28 AM
Profile PM Find Quote Report
DJmorphine
Junior Member
**

Avatar

Posts: 35
37 / Male / –
Joined: Jun 2004
O.P. RE: [vb] getting own msn nick(without messenger api)
No that one doesnt work, because i first must read the nickname then I convert all the characters, and then I set the new nick.

this is the current code:

ElseIf (StrComp(LCase(sCommand), "/xunireplacenick",    vbTextCompare) = 0) Then
        UniForwards (Messenger.MyFriendlyName)
        sResult = "/nick " & newnick
        ParseCommand = True
Exit Function

It works great on my machine, but I tried it on serveral others but it doenst work I installed windows messenger 4.7..it doenst work..I installed windows messeger 5.0.. it doenst work..

isnt there a way to do somethinh with:
Sending command (!P) getting the output without printing???
06-29-2004 08:51 AM
Profile E-Mail PM Find Quote Report
DJmorphine
Junior Member
**

Avatar

Posts: 35
37 / Male / –
Joined: Jun 2004
O.P. RE: [vb] getting own msn nick(without messenger api)
edit: sorry i mean (!N)
06-29-2004 08:52 AM
Profile E-Mail PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: [vb] getting own msn nick(without messenger api)
quote:
Originally posted by DJmorphine
No that one doesnt work, because i first must read the nickname then I convert all the characters, and then I set the new nick.
that's just what i w<anted to say. it'd something like this:
code:
ElseIf (StrComp(LCase(sCommand), "/xunireplacenick",    vbTextCompare) = 0) Then
        sResult = "/xunireplacenick2 (!NP)"
        ParseCommand = True
        Exit Function
ElseIf (StrComp(LCase(sCommand), "/xunireplacenick2",    vbTextCompare) = 0) Then
        UniForwards (sCommandArg)
        sResult = "/nick " & newnick
        ParseCommand = True
Exit Function

quote:
Originally posted by DJmorphine
edit: sorry i mean (!N)
hehe, you can edit your posts, no need to post another one ;)
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
06-29-2004 09:14 AM
Profile PM Find Quote Report
DJmorphine
Junior Member
**

Avatar

Posts: 35
37 / Male / –
Joined: Jun 2004
O.P. RE: [vb] getting own msn nick(without messenger api)
YEAH that worked, very nice!!!!
06-29-2004 09:44 AM
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