Changed folder name.
Changed folder name.
This commit is contained in:
22
_module/nss/mercrainbow.nss
Normal file
22
_module/nss/mercrainbow.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName mercrainbow
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 11/18/2002 4:35:06 AM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object o11;
|
||||
o11 = GetItemPossessedBy(oPC, "NW_WSWMLS013");
|
||||
if(GetIsObjectValid(o11) != 0){
|
||||
DestroyObject(o11);
|
||||
}
|
||||
// Either open the store with that tag or let the user know that no store exists.
|
||||
object oStore = GetNearestObjectByTag("rainbow");
|
||||
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
|
||||
OpenStore(oStore, GetPCSpeaker());
|
||||
else
|
||||
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
|
||||
}
|
Reference in New Issue
Block a user