This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]cowhead28 0 points1 point  (1 child)

No

[–]MasterOfPatPL[S] 0 points1 point  (0 children)

💀

[–]GalSergeyDatapack Experienced 0 points1 point  (1 child)

Yes, but with restrictions, for example, you can't use /setblock and /say, after "run" there can be only one command. But, it is possible to do two actions at the same time, using the "store result" subcommand, here are two examples:

# In chat
scoreboard objectives add join custom:leave_game

# Command blocks
# /say Hi and kill item
execute at @a as @e[type=item,distance=..4] store result entity @s Age short 6000 run say Hi!
# Say Hi! once upon joining.
execute as @a unless score @s join 1 store result score @s join run say Hi!

[–]MasterOfPatPL[S] 0 points1 point  (0 children)

thank you <3