15 lines
501 B
Plaintext
15 lines
501 B
Plaintext
void main()
|
|
{
|
|
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
|
|
|
while (OBJECT_INVALID != oItem)
|
|
{
|
|
if (GetResRef(oItem) == "banktoken1000000") DestroyObject(oItem);
|
|
else if (GetResRef(oItem) == "banktoken100000") DestroyObject(oItem);
|
|
else if (GetResRef(oItem) == "banktoken10000") DestroyObject(oItem);
|
|
else if (GetResRef(oItem) == "banktoken1000") DestroyObject(oItem);
|
|
|
|
oItem = GetNextItemInInventory(OBJECT_SELF);
|
|
}
|
|
}
|