#include "xp_inc" #include "aps_include" void main() { object oPC = GetPCSpeaker(); object oFuck = GetModule(); int oXP = GetXP(oPC); if (WithdrawCap == TRUE) { if (GetXP(oPC) >= (XPcap - 99999)) { SpeakString(slvlcap); return; } } string sCDKey = GetPCPublicCDKey(oPC); int fXP = GetPersistentInt(oFuck, sCDKey, "pwdata") -100000; SetPersistentInt( oFuck, sCDKey, fXP, 0, "pwdata"); GiveXPToCreature(oPC, 100000); SpeakString ("You have withdrawn 100,000 XP."); }