Initial upload
Initial upload
This commit is contained in:
19
_module/nss/takearenatoken.nss
Normal file
19
_module/nss/takearenatoken.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
//Put this script OnExit
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetExitingObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oItem;
|
||||
oItem = GetFirstItemInInventory(oPC);
|
||||
|
||||
while (GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetTag(oItem)=="arenatoken") DestroyObject(oItem);
|
||||
|
||||
oItem = GetNextItemInInventory(oPC);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user