11 lines
302 B
Plaintext
11 lines
302 B
Plaintext
void main()
|
|
{
|
|
string sName = GetLocalString(OBJECT_SELF, "Name");
|
|
object oWand = CreateItemOnObject("dae_namingwand", GetPCSpeaker());
|
|
if (oWand != OBJECT_INVALID)
|
|
{
|
|
SetLocalString(oWand, "Name", sName);
|
|
SetName(oWand, "Rename as: '"+GetLocalString(oWand, "Name")+"'");
|
|
}
|
|
}
|