I will not show you how to do this but I will point you in the right direction. I will show you some things from a 5165 source and hopefully you will be able to work at it and get the command right. This is not be being nasty, this is me helping you to learn.
Take this as an example.
Code:
if (Cmd[0] == "/ctele" && GC.AuthInfo.Status == "[PM]")
{
Game.Character C = Game.World.CharacterFromName(Cmd[1]);
if (C != null)
GC.MyChar.Teleport(C.Loc.Map, C.Loc.X, C.Loc.Y);
}
Then also take this as an example.
Code:
if (Cmd[0] == "/cps")
GC.MyChar.CPs = uint.Parse(Cmd[1]);
Using these two examples you should be able to create a command that will award a player CPs.
hint:
if (Cmd[0] == "/cps" && GC.AuthInfo.Status == "[PM]")
{
}
Hope this helps.
Add me on msn if you truly cant figure this out and I will help you some more