$execute if dimension minecraft:overworld run tellraw @s [{text:"[",color:"gray"},{"atlas":"minecraft:gui","sprite":"mob_effect/raid_omen"},{text:"] ",color:"gray"},{player:"$(player_name)",color:"white"},{text:" $(player_name)",color:"red"},{text:" #$(gid)",color:"gold"},{text:" || ",color:"gray"},{text:"$(x) ",color:"yellow"},{text:"$(y) ",color:"aqua"},{text:"$(z) ",color:"light_purple"},{text:"|| ",color:"gray"},{text:" $(dimension)",color:"green"}]

$execute if dimension minecraft:the_nether run tellraw @s [{text:"[",color:"gray"},{"atlas":"minecraft:gui","sprite":"mob_effect/raid_omen"},{text:"] ",color:"gray"},{player:"$(player_name)",color:"white"},{text:" $(player_name)",color:"red"},{text:" #$(gid)",color:"gold"},{text:" || ",color:"gray"},{text:"$(x) ",color:"yellow"},{text:"$(y) ",color:"aqua"},{text:"$(z) ",color:"light_purple"},{text:"|| ",color:"gray"},{text:" $(dimension)",color:"red"}]

$execute if dimension minecraft:the_end run tellraw @s [{text:"[",color:"gray"},{"atlas":"minecraft:gui","sprite":"mob_effect/raid_omen"},{text:"] ",color:"gray"},{player:"$(player_name)",color:"white"},{text:" $(player_name)",color:"red"},{text:" #$(gid)",color:"gold"},{text:" || ",color:"gray"},{text:"$(x) ",color:"yellow"},{text:"$(y) ",color:"aqua"},{text:"$(z) ",color:"light_purple"},{text:"|| ",color:"gray"},{text:" $(dimension)",color:"light_purple"}]

$execute unless dimension minecraft:overworld unless dimension minecraft:the_nether unless dimension minecraft:the_end run tellraw @s [{text:"[",color:"gray"},{"atlas":"minecraft:gui","sprite":"mob_effect/raid_omen"},{text:"] ",color:"gray"},{player:"$(player_name)",color:"white"},{text:" $(player_name)",color:"red"},{text:" #$(gid)",color:"gold"},{text:" || ",color:"gray"},{text:"$(x) ",color:"yellow"},{text:"$(y) ",color:"aqua"},{text:"$(z) ",color:"light_purple"},{text:"|| ",color:"gray"},{text:" $(dimension)",color:"aqua"}]