Ok, I must be missing something obvious, can someone help? I'm using the exact same script in another Roster but it doesn't work in this one. You can see the Accrued Tags and the neVanguard = 1 and neRadSquad = 2, so why does the rule come back as invalid?
(The zip is a full screenshot of my open windows if it helps)
Rule: neVanguard Scope:Roster Priority: 1
if (tagis[unitid.neVanguard] = 0) then
@valid = 1
done
endif
var x as number
var y as number
x = tally[unit:unitid.neVanguard & !runtime.child]
y = tally[unit:unitid.neRadSquad & !runtime.child]
if ( x <= y ) then
@valid = 1
endif
(The zip is a full screenshot of my open windows if it helps)
Rule: neVanguard Scope:Roster Priority: 1
if (tagis[unitid.neVanguard] = 0) then
@valid = 1
done
endif
var x as number
var y as number
x = tally[unit:unitid.neVanguard & !runtime.child]
y = tally[unit:unitid.neRadSquad & !runtime.child]
if ( x <= y ) then
@valid = 1
endif