No; the way you've written your code, the 10-man texture will show when:
- there is at least one party member, (n>0)
- there is more than one raid member, (n>1) and
- there are fewer than eleven raid members. (n<11)
I don't think the first two are what you actually wanted.
To get something that shows when there are 1-10 raid members, and hides otherwise, it doesn't matter how many people are in your party, so you don't need to check that:
Code:
local raid = GetNumRaidMembers()
if raid >= 1 and raid <= 10 then
self:Show()
else
self:Hide()
end
The same goes for 11-25 raid members; you don't need to check party members:
Code:
local raid = GetNumRaidMembers()
if raid >= 11 and raid <= 25 then
self:Show()
else
self:Hide()
end