Changed folder name.
Changed folder name.
This commit is contained in:
24
_module/nss/wizo6.nss
Normal file
24
_module/nss/wizo6.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName wizo6
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 8/12/2002 9:33:01 PM
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_tool"
|
||||
void main()
|
||||
{
|
||||
object oPC=GetPCSpeaker();
|
||||
if(!HasItem(oPC, "MutantFireBeetlebelly")){
|
||||
string name = GetPCPlayerName(oPC);
|
||||
SetXP(oPC, 0);
|
||||
BootPC(oPC);
|
||||
SendMessageToAllDMs( name + " has been invalidated for attempting to exploit hero crystal for Mutant Fire Beetle Belly trade.");
|
||||
|
||||
}
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "MutantFireBeetlebelly");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
}
|
Reference in New Issue
Block a user