Very simple, but why not?

Tutorial for a custom /admin command that adds effects

1. Open Server Solution

2. Navigate to
-wServer
-realm
-commands
-AdminCommands.cs

3. Add this class:

Code:
    internal class AdminCommand : Command
    {
        public AdminCommand()
            : base("admin", 1)
        {
        }

        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            int[] effectsToAdd = new int[] { 14, 17, 18, 19, 24 };
            try
            {
                for (int i = 0; i < effectsToAdd.Length; i++)
                {
                    player.ApplyConditionEffect(new ConditionEffect
                    {
                        Effect = (ConditionEffectIndex)Enum.Parse(typeof(ConditionEffectIndex), effectsToAdd[i].ToString().Trim(), true),
                        DurationMS = -1
                    });
                    {

                    }
                }
                player.SendInfo("Success!");
            }
            catch
            {
                player.SendError("Unexpected error!");
                return false;
            }
            return true;
        }
    }
4. You can edit the array "effectsToAdd" to the effects you want. It goes off of the effect's index