JoRAdmin
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 22 |
|
|
| 19 Sep 2011 10:52 AM |
This is a Ban Command for JoR Admin Commands.
But it doesnt wanna to work Could you please fix it thanks
local admins = {"Player", "juriaan", "owenrules12", "RATEXmegaGAMER", "JoRAdmin"}
local newadmins = {}
local banned = {}
elseif string.sub(msg:lower(), 1, 6) == "unban:" then
for _, n in pairs(admins) do
for _, p in pairs(Game.Players:GetPlayers()) do
if string.sub(p.Name:lower(), 1, string.sub(msg, 7):len()) == string.sub(msg:lower(), 7) then
if p.Name == n then
for i, v in pairs(banned) do
if not v then break end
if v == p.Name then
table.remove(banned, i)
break
end
end
end
end
end end
|
|
|
| Report Abuse |
|
|
|
| 19 Sep 2011 10:57 AM |
| I told you yesterday I would fix it today -_- |
|
|
| Report Abuse |
|
|
JoRAdmin
|
  |
| Joined: 18 Sep 2011 |
| Total Posts: 22 |
|
|
| 19 Sep 2011 10:59 AM |
Sorry. ratex. I did you came only in Weekends..
|
|
|
| Report Abuse |
|
|
| |
|
|
| 19 Sep 2011 11:21 AM |
*facefork*
This is one piece of messy non-working code. |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 Sep 2011 11:52 AM |
lrn2makereadablecode
~SS9875|Programmer|Web Engineer|Wiki Writer |
|
|
| Report Abuse |
|
|