What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » VB Help With /Commands

VB Help With /Commands
Author: Message:
f3nd3r
Junior Member
**


Posts: 20
Reputation: 1
Joined: Jun 2002
O.P. RE: VB Help With /Commands
Thats sweet dude. Thanks very much. That method didnt occur to me, yet its so obvious now I think about it.

Ok now my next problem is how do i get the sResult to display written text aswell as something a command has triggered...Look at the source below.

code:
Public Function ParseCommand(ByVal sCommand As String, ByVal sCommandArg As String, ByVal oConversationWnd As Object, ByRef sResult As String) As Boolean
      If (StrComp(LCase(sCommand), "/xtest", vbTextCompare) = 0) Then

If sCommandArg = "%hello" then
       
        sResult = "Hello"
       
End if
End if

        ParseCommand = True
        Exit Function
End Function


if someone types /xtest this is me saying %hello

How do i get sResult to display "this is me saying hello" ?
11-05-2003 07:31 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB Help With /Commands - by f3nd3r on 11-05-2003 at 06:22 PM
RE: VB Help With /Commands - by Jutx on 11-05-2003 at 06:33 PM
RE: VB Help With /Commands - by f3nd3r on 11-05-2003 at 07:31 PM
RE: VB Help With /Commands - by Jutx on 11-05-2003 at 11:21 PM
RE: VB Help With /Commands - by f3nd3r on 11-05-2003 at 11:40 PM
RE: VB Help With /Commands - by Jutx on 11-06-2003 at 12:07 AM
RE: VB Help With /Commands - by f3nd3r on 11-06-2003 at 12:44 PM
RE: VB Help With /Commands - by Jutx on 11-06-2003 at 04:19 PM
RE: VB Help With /Commands - by f3nd3r on 11-06-2003 at 05:11 PM
RE: VB Help With /Commands - by Jutx on 11-06-2003 at 05:20 PM
RE: VB Help With /Commands - by f3nd3r on 11-06-2003 at 05:38 PM
RE: VB Help With /Commands - by Hah on 11-06-2003 at 06:47 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