|
| 12 Jan 2013 07:30 PM |
Words = { "1", "2", "3", "etc"}
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(chat) for i,v in ipairs(Words) do if chat:lower() == v:lower() then
end end end) end)
I want to figure out when the message is chatted which one it is, currently the fuction will run and I will know one of the words were chatted but I dont know which one was chatted.
|
|
|
| Report Abuse |
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
| |
|
| 12 Jan 2013 07:38 PM |
| This is old sorry I misread the script and didn't realise that v is what I wanted. |
|
|
| Report Abuse |
|