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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 16 Nov 2015 07:21 PM |
https://github.com/ROBLOX/Core-Scripts/
LOBSTER BISQUE |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
| |
|
| |
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 16 Nov 2015 11:14 PM |
| how do you even encrypt your code? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 16 Nov 2015 11:18 PM |
| You don't, OP probably meant obfuscate. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 16 Nov 2015 11:44 PM |
| There should also be a chat history. |
|
|
| Report Abuse |
|
|
Jeysea
|
  |
| Joined: 13 Apr 2015 |
| Total Posts: 268 |
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|