Files
Anphillia_PRC8/_module/nss/x3_pl_tool10.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

20 lines
744 B
Plaintext

// Anphillia UNSTUCK Tool.
#include "dbg_inc"
#include "util_inc"
#include "color_inc"
#include "dev_inc"
void main()
{
object oPC = OBJECT_SELF;
location loc = GetSpellTargetLocation();
string sMsg = "UNSTUCK tool used. Source:"+util_EncodeLocation(GetLocation(oPC)) + " Target:"+util_EncodeLocation(loc) + " PC:"+GetName(oPC) + "(" + GetPCPublicCDKey(oPC) + ")";
WriteTimestampedLogEntry(sMsg);
if (!dev_IsTeamMember(oPC))
dbg_Warning(sMsg, oPC);
SendMessageToPC(oPC, COLOR_CODE_ORANGE_LIGHT+"UNSTUCK tool used. This tool is OOC and should only be used for fixing bugs when a PC gets stuck. Every use is logged and abuse will be punished." + COLOR_CODE_END);
AssignCommand(oPC, JumpToLocation(loc));
}