|
-
Aug 14th, 2003, 02:44 PM
#1
Thread Starter
Addicted Member
winsock chat program, easy question
im working on a simple chat proggie, and i would be the admin, i want to have an tool that will allow me to send msgs in msgboxes to users, with a command like "/say do you like this msgbox?" but how would i split those 2 things and make the program know to make a msgbox for the msg after /say.
-
Aug 14th, 2003, 03:05 PM
#2
Addicted Member
Code:
Public Sub DisplayStuff()
Msg = "/say blah blah"
MsgBoxMsg = Mid(Msg, 6, len(Msg))
MsgBox Msg
End Sub
That would only display the message you provided after /say.
/say blah blah
would display
blah blah
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|