/trunk
if not STS_SV then |
return false |
end |
if select(1,...) ~= "all" then |
if select(1,...) == "all" then |
STS_SV = nil |
elseif select(1,...) == "ignore" then |
STS_SV["ignore"][tignlist] = nil |
STS_SV["ignore"][tignlist] = { } |
else |
for i,j in pairs(STS_SV) do |
if i ~= "ignore" then |
j = nil |
end |
end |
elseif select(1,...) == "ignore" then |
STS_SV["ignore"][tignlist] = nil |
STS_SV["ignore"][tignlist] = { } |
else |
STS_SV = nil |
end |
return true |
end |
dcfa("\124cffff0000/sts options \124cff00ff00Not yet working.") |
dcfa("\124cffff0000/sts reset \124cff00ff00Reset language setting, language filters to default, T-ignorelist is not resetted") |
elseif STScommand[1] == "reset" then |
STS_ResetSV() |
if STScommand[2] then |
STS_ResetSV(STScommand[2]) |
else |
STS_ResetSV() |
end |
STS_InitSV() |
elseif STScommand[1] == "list" then |
STS_List(STScommand[2]) |