Difference between revisions of "ModName"
Jump to navigation
Jump to search
imported>Haama (→See Also: Added links) |
imported>Haama (→See Also: Added HasName) |
||
| Line 13: | Line 13: | ||
==See Also== |
==See Also== |
||
*[[HasName]] |
|||
*[[AppendToName]] |
*[[AppendToName]] |
||
*[[CompareName]] |
*[[CompareName]] |
||
Latest revision as of 03:46, 27 January 2008
A command for Oblivion Script Extender
Syntax:
(nothing) reference.ModName "toReplaceAndReplaceWith:string" toObject:ref
Modifies the name of the calling reference or passed objectID.
Notes[edit | edit source]
- The toReplaceAndReplaceWith string has the following format: "toReplace|replaceWith".
- We will do a case insensitve search for the toReplace portion and if found will replace it with the replaceWith portion.
- The | character is used to separate the portions of the string.
- If there is nothing before the | character, the replaceWith string is prepended to the name.