generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Custom Chat (For you)

Previous Thread :: Next Thread 
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 06:56 PM
I made a custom chat, and I'm still developing it. You can get it from this uncopylocked place, as well as test it out:

http://www.roblox.com/games/249699480/Custom-Chat-Testing

Currently features:
Multi-line capabilities
Filtering Enabled compatible
Fully editable (no encryption)

I haven't commented on anything other than to help myself remember what does what, so if you only have a basic understanding of scripting it might be difficult to read.

You can do whatever you want with it, I don't care for credit.
Report Abuse
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 06:57 PM
It's got commands to, but if you want to know what they are then just download the place.
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
16 Nov 2015 07:17 PM
Compare it to roblox's Chat



http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,890 Tx1,483
Report Abuse
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 07:19 PM
I made it because you can't edit the default chat. This one is easy to edit.
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
16 Nov 2015 07:21 PM
https://github.com/ROBLOX/Core-Scripts/

LOBSTER BISQUE
Report Abuse
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 07:28 PM
My chat is still efficient and easier to understand. With less lines of code.
Report Abuse
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 07:52 PM
So, some things I'll be adding:
Character limit
Multi-line for the chat-bar (not just the chat)
game-pad capabilities
Report Abuse
Zaxerion is not online. Zaxerion
Joined: 09 Feb 2013
Total Posts: 2304
16 Nov 2015 08:01 PM
My chat system > your chat system.

Nah, jk, your's is pretty good. I could help you smoothen it out if you'd like though, I am a bit of a wiz with these.
Report Abuse
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
16 Nov 2015 08:05 PM
Already got my own... Lol. It can turn off & on + it auto fixes itself if it breaks. I'll still have a look at yours though... (when i get the change) :)



I was once here.
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
16 Nov 2015 08:06 PM
Nice
add anti spam
Report Abuse
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
16 Nov 2015 08:06 PM
chance*



I was once here.
Report Abuse
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
16 Nov 2015 08:07 PM
Forgot about anti-spam... I'll have to add that to mine., unless roblox's anti-spam already imply's with it.



I was once here.
Report Abuse
Naquadria is not online. Naquadria
Joined: 03 Nov 2010
Total Posts: 11936
16 Nov 2015 08:28 PM
You cant import ROBLOX chat into roblox, so not point in linking the github.
Report Abuse
Naquadria is not online. Naquadria
Joined: 03 Nov 2010
Total Posts: 11936
16 Nov 2015 08:41 PM
Its nice doe, kinda sad that it breaks chat commands/admin/emotes that sort of thing :/
Report Abuse
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 08:49 PM
On the topic of anti-spam, I'll be adding some sort of automatic punishment for typing the same thing over and over, or when something is pasted multiple times in the chat.
Report Abuse
Naquadria is not online. Naquadria
Joined: 03 Nov 2010
Total Posts: 11936
16 Nov 2015 08:53 PM
For the "colors" table I dont think you have to write it all out

can just do

BrickColor.Random().Color
Report Abuse
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 09:50 PM
I saw some tips on how to make that better, I'll implement it later.
Report Abuse
KAMIKAZEPOLO is not online. KAMIKAZEPOLO
Joined: 14 Mar 2012
Total Posts: 1049
16 Nov 2015 11:14 PM
how do you even encrypt your code?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
16 Nov 2015 11:18 PM
You don't, OP probably meant obfuscate.
Report Abuse
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 11:36 PM
Also, found some problems with /name command. Nothing chat breaking but can be annoying. Will be fixing, but feel free to try and edit the script yourself if you want!
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
16 Nov 2015 11:38 PM
You could be more efficent by only creating a single value for each BrickColor.

local Colors = {}

for i = 0,127 do -- 128 brickcolors rn
local color = BrickColor.palette(i)
Colors[color.Name] = color -- or color.Color if you only want the Color3 of it
end


And simply using name references to get the colors.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
16 Nov 2015 11:44 PM
There should also be a chat history.
Report Abuse
Jeysea is not online. Jeysea
Joined: 13 Apr 2015
Total Posts: 268
16 Nov 2015 11:44 PM
Thanks for the tip! :]
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
17 Nov 2015 12:16 AM
Anti pasting function. Not sure how to make this more efficient, I could use ContextActionService and bind/release whenever the textbox is focused but ye.. this works

local uis = game:GetService('UserInputService')
local keys,active = {[Enum.KeyCode.LeftControl] = false,[Enum.KeyCode.V] = false},0
local box = script.Parent --she's a text box

uis.InputBegan:connect(function(input,gpe)
if gpe and keys[input.KeyCode] == false then
keys[input.KeyCode] = true
active = active + 1
if active == 2 then
box.Text = 'No pastin m8'
end
end
end)

uis.InputEnded:connect(function(input,gpe)
if gpe and keys[input.KeyCode] then
keys[input.KeyCode] = false
active = active - 1
end
end)
Report Abuse
ChiefAlpha is not online. ChiefAlpha
Joined: 01 Oct 2015
Total Posts: 2014
17 Nov 2015 12:18 AM
Might just use this for games where I only want some people to see the chat because I'm lazy.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image