CompareNames

From The Elder Scrolls Construction Set Wiki

A command for Oblivion Script Extender

Syntax:

(comparison:short) reference.CompareNames compareTo:ref compare:ref

Compares the names of two objects and returns -1 if the first occurs alphabetically before the second, 1 if the first occurs after the second, or 0 for equality. Comparison is case-insensitive.

See Also

Personal tools