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:
Jutx
Junior Member
**

Avatar
Shocking.......

Posts: 98
– / Male / –
Joined: May 2003
RE: VB Help With /Commands
I would use a nested if statement
the code below would display a message box if the user types /xtest hello

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
       
        MsgBox "This Msgbox will be activated if user sends /xtest hello"
       
End if

        ParseCommand = True
        Exit Function
End Function
Hard work pays off in the long run but laziness pays off NOW (H) :banana:
11-05-2003 06:33 PM
Profile PM 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