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
Ok, I chose to use the command code. Heres what I'm faced with now.  When i choose a variable such as:

   sResult = Replace(sCommandArg,"%cpu", CPUSpeed)

it will work if the user does /xtest %cpu   but it wont work if anything else is in the text..such as:

/xtest %cpu ...thats my CPU speed.

However, if it is a string, and not a variable, it will work fine with other text.. for example see below.

   sResult = Replace(sCommandArg,"%cpu", "cpu speed")

With that someone can type '/xtest look at my %cpu'  and it would result in MSN saying "look at my cpu speed"  instead of just returning nothing like the variable does.

So now i am left confused as to why it doesnt allow extra text if it is a variable, but it does if it is a string.

Any ideas?

I really appreciate your help Jutx
11-06-2003 12:44 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