|
| 18 Nov 2014 08:37 PM |
this is only a snippet, but its not working..
local plr = game.Players[admin] connectchat = function(P) P.Chatted:connect(function(m) print(m) if m:sub(1,4) == 'ban/' then ban(m:sub(5)) elseif m:sub(1,6) == 'unban/' then setBan(m:sub(7) or find(m:sub(7)),false) elseif m:lower():match('getbanned/') then local ssss = {} for i,v in pairs(scrubz) do if not ssss[v] then ssss[v] = true end end for i,v in pairs(ssss) do print(i..' Is banned, this is '..tostring(v)) end end end) end connectchat(plr)
the chatted commands are not firing, and yes, admin is defined..
and the chatted event isn't working at all.. |
|
|
| Report Abuse |
|
|
| 18 Nov 2014 08:40 PM |
| NVM, FORGOT TO STOP OTHER SCRIPT FIRST, CLOSED |
|
|
| Report Abuse |
|