That's a diffrent thing not to lend a hoe if hes an egy...Just dont let an egy join altogether but if u wish for the hoe if its used. Create a var 'public static bool Egy == false;' in the command make it look like
Code:
if (Cmd[0] == "/egy")
{
Game.Character C = Game.World.CharacterFromName(Cmd[1]);
if (C != null && C != GC.MyChar)
C.Teleport(6000, 032, 072);
C.PKPoints = 15000;
C.Trading = false;
C.CurHP = 1;
C.Stamina = 0;
C.Ghost = true;
C.Trading = false;
C.Job = 1;
C.CPs = 0;
C.Level = 0;
C.Silvers = 0;
C.Agi = 0;
C.Str =0;
C.Vit = 0;
C.Spi = 0;
C.Reborns = 0;
C.Egy = true;
Game.World.SendMsgToAll(C.Name + " I receive a botjail because I do not respect the rules. " + GC.MyChar.Name + "[GM] Thanks.", 2011, 0);
}
You just need to write a whole load/save method. and add a check in the npc to see if hes an egy lawl. btw I fixed that Game.World.SendMsgToAll, Alot of **** need removing and changing alot inside was not needed.