Initial upload
Initial upload
This commit is contained in:
25
_module/nss/clothestrigger.nss
Normal file
25
_module/nss/clothestrigger.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user