Example #1
0
        public string Execute([CurrentCharacterIfNull] ICharacter character)
        {
            if (ServerModeratorSystem.ServerIsModerator(character.Name))
            {
                return(character.Name + " is already a server moderator");
            }

            ServerModeratorSystem.ServerAdd(character);
            return(character.Name + " added to the server moderators list");
        }
Example #2
0
 public string Execute([CurrentCharacterIfNull] ICharacter character)
 {
     ServerModeratorSystem.ServerAdd(character);
     return(null);
 }