10-12-2015, 07:45 PM
This would work better:
Just replace those lines with these and it should do the trick.
Just replace those lines with these and it should do the trick.
Code:
local IsInWhitelist = false
for mustkeep in StringSplit(whitelist,",") do
if (mustkeep == lastCatch) then
IsInWhitelist = true
end
end
return IsInWhitelist