help for chat

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts Page 1 of 1
Contributors
User avatar
JustFashion
New Member
New Member
Posts: 14
Joined: Sat Nov 27, 2010 3:28 pm

help for chat
JustFashion
Hello,
I want to make chat like irc with commands and different colours for my game client:)
Help me please.
Thanks!
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: help for chat
mandai
There are libraries that you can use to connect to an IRC server.
Check out http://www.meebey.net/projects/smartirc4net/
User avatar
rocky4126
VIP - Donator
VIP - Donator
Posts: 258
Joined: Mon Nov 16, 2009 7:39 pm

Re: help for chat
rocky4126
mandai, that's not what he means.

JustFashion: Check if the string starts with / and then if it does,
Code: Select all
sub parsecommands(ByVal text as system.string)
if text.substring(0, 3) = "/me" then
'send text to server from text.substring(4)
elseif text.substring(0, COMMANDLENGTHHERE) = "COMMANDHERE" then
'do the same here
end if
Image
3 posts Page 1 of 1
Return to “Tutorial Requests”