26 lines
580 B
Plaintext
26 lines
580 B
Plaintext
//Created by Guile 2/20/07
|
|
//Put this script OnEnter
|
|
//This is to give new players clothes
|
|
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
if(GetItemPossessedBy(oPC, "nwbsilks44")==OBJECT_INVALID)
|
|
CreateItemOnObject("newbsilks44", oPC);
|
|
|
|
//Enter the ResRef (Not the Tag!)of the Item You Wish to give the PC here.
|
|
if(GetItemPossessedBy(oPC, "theundeworldbk")==OBJECT_INVALID)
|
|
CreateItemOnObject("theunderworldbk", oPC);
|
|
|
|
}
|