i want a command to be executed in "on *:INPUT:*:{}"

say, when i query user, first i want to execute command1 by sending a random message and after command was successfuly executed - let the random message appear.
couse currently command and message works on the same time.

how can i do that?

thank you