#include "database_inc" void main() { object pres5PC = GetPCSpeaker(); if(GetGold(pres5PC)>4999) { TakeGoldFromCreature(5000, pres5PC, TRUE); SetLocalInt(pres5PC, "X1_AllowShadow", 0); DBSetPrestigePermisson (pres5PC,CLASS_TYPE_SHADOWDANCER); SendMessageToPC(pres5PC, "You have unlocked the Shadowdancer Prestige Class"); } else { } }