Changing command

Hi, when I edit these commands to change it to something else, it doesnt work

 

else if (entry.Key.Equals("bandit", StringComparison.OrdinalIgnoreCase))
                {
                    if (CompoundTeleport == null)
                    {
                        banditEnabled = True;
                    }
                    else continue;
                }
                else if (entry.Key.Equals("outpost", StringComparison.OrdinalIgnoreCase))
                {
                    if (CompoundTeleport == null)
                    {
                        outpostEnabled = True;
                    }
                    else continue;
                }

is it right here?

I'll make this optional