|
| 09 Aug 2014 05:07 PM |
Working on a script for a game i'm going to make, but I don't know how you copy the chat.
What I want it to do: Copy what everyone says, and possibly copy their names if possible.
This script will be very useful for the game i'm going to make. please help!
|
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 09 Aug 2014 05:08 PM |
| You mean like logs on kohls admin? Where you can see a history of the chat? |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2014 05:09 PM |
| Yes, like an output, but of what people say. |
|
|
| Report Abuse |
|
|
Bobobob12
|
  |
| Joined: 23 Jan 2008 |
| Total Posts: 5350 |
|
|
| 09 Aug 2014 05:11 PM |
local log
game.Players.PlayerAdded:connect(function(plr) plr.Chatted:connect(function(msg) table.insert(log, plr.Name .. ":" .. msg) end) end)
|
|
|
| Report Abuse |
|
|
|
| 09 Aug 2014 05:22 PM |
| Where do you view the logs at, and how can you make it where only certain people can view them? |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2014 05:31 PM |
that will not work bob
"log" is actually a statement and you cant just say local log
it has to be a table. log wouldn't work anyways.
local f=[] |
|
|
| Report Abuse |
|
|
| |
|