What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » On Connection

On Connection
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: On Connection
code:
Private MessengerAPI
Option Explicit

Public Function Initialize(ByVal nVersion As Long, ByVal sUserEmail As String, ByVal oMessenger As Object) As Boolean
    Initialize = True
    Set MessengerAPI = oMessenger

    If MessengerAPI.MyStatus <> MISTATUS_OFFLINE Then
        retval = SetNewName("New Name")
    Endif
End Function

If that will check to see if the user is logged into Messenger if it is you change change the name when the Plugin is initialized.

Also please try to refrain from double posting. Use the [Image: edit.gif] button to edit your posts.

Edit: Now here is some count down code for you.
code:
DateDiff("d", Now, "12/12/2005")
This will tell you how many days you have till 12/12/2005. You can store a value in the registry on the last day it was changed then change it accordingly.

This post was edited on 02-12-2005 at 07:31 PM by matty.
02-12-2005 07:19 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
On Connection - by Fröt on 02-12-2005 at 06:55 PM
RE: On Connection - by matty on 02-12-2005 at 07:19 PM
RE: On Connection - by Fröt on 02-12-2005 at 07:40 PM
RE: On Connection - by RaceProUK on 02-12-2005 at 09:25 PM
RE: RE: On Connection - by Fröt on 02-12-2005 at 09:38 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