Skip to main content

Condition_ExamRankCompare

Description

Compares the latest exam rank gap between BaseObject and the opposite script object. Rank 1 is the highest rank. Greater and GreaterOrEqual mean BaseObject is higher-ranked by the requested gap. Less and LessOrEqual mean BaseObject is lower-ranked by the gap.

Parameters

ParameterDescription
BaseObjectThe student compared against the opposite script object.
CompareTypeEqual, NotEqual, Greater, GreaterOrEqual, Less, LessOrEqual.
F1Rank gap threshold.

Notes

The opposite script object is resolved from ScriptContext by BaseObject and is not a table parameter.

Examples

DescriptionBaseObjectCommandCompareTypeF1
Check if Self ranks above Target by 1+SelfExamRankCompareGreaterOrEqual1
Check if Target ranks below Self by 1+TargetExamRankCompareLessOrEqual1