15 lines
314 B
Plaintext
15 lines
314 B
Plaintext
|
// Actions Taken:
|
||
|
// Apply the new name.
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
string sNewName = GetLocalString(OBJECT_SELF, "TK_ITEMNAMER_NewName");
|
||
|
|
||
|
// Abort if no new name given.
|
||
|
if ( sNewName == "" )
|
||
|
return;
|
||
|
|
||
|
// Apply the new name.
|
||
|
SetName(GetLocalObject(OBJECT_SELF, "TK_ITEMNAMER_Target"), sNewName);
|
||
|
}
|