I'm makin a command for ban ppl, here is:
But, if the infractor log of, he have normal status again.
How i can save the status when i change it?
P.S = Sorry for the english lol. I'm spanish.
Code:
if (Cmd[0] == "/ban")
{
Game.Character C = Game.World.CharacterFromName(Cmd[1]);
if (C != null)
C.MyClient.AuthInfo.Status = "[ban]";
C.MyClient.Disconnect();
}
How i can save the status when i change it?
P.S = Sorry for the english lol. I'm spanish.