CompareNames

From the Oblivion ConstructionSet Wiki
Revision as of 04:45, 27 January 2008 by imported>Haama (→‎See Also: Added HasName)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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[edit | edit source]