What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Creating Plugin [Help Req. Please]

Creating Plugin [Help Req. Please]
Author: Message:
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
20 / Other / Flag
Joined: Jul 2003
RE: Creating Plugin [Help Req. Please]
that wont show a random contact btw...

i had a little play around and came up with this..

code:
Dim nRandom As Long
Dim num, count  As Integer

Dim MSNC As IMessengerContact
Dim MSNCs As IMessengerContacts
Set MSNCs = MessengerAPI.Messenger.MyContacts

num = MessengerAPI.Messenger.MyContacts.Count
nRandom = Int(Rnd * num)
count = 1
For Each MSNC In MSNCs
If count = nRandom Then
If MSNC.Blocked = False Then
'MessengerAPI.Messenger.InstantMessage(MSNC.Siginname)
Msgbox "Ok" & vbnewline & MSNC.Signinname
End If
Else
count = count + 1
End If
Next

06-14-2005 07:28 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Creating Plugin [Help Req. Please] - by XM4ST3RX on 06-14-2005 at 07:08 PM
RE: Creating Plugin [Help Req. Please] - by Stigmata on 06-14-2005 at 07:28 PM
RE: Creating Plugin [Help Req. Please] - by Dempsey on 06-14-2005 at 08:42 PM
RE: Creating Plugin [Help Req. Please] - by XM4ST3RX on 06-14-2005 at 08:46 PM
RE: Creating Plugin [Help Req. Please] - by Yousef on 06-14-2005 at 09:16 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