I am trying to kill all entities in a custom dimension named "console" except myself, armor stands, and items in a custom dimension named "Console." At the moment, it is killing all entities in all dimensions except me, armor stands, and items.
This is the command
execute in minecraft:console run kill @e [type=!minecraft:armor_stand,name=!MaximumCalamity,type=!minecraft:item]