#How to get command feedback?

1 messages · Page 1 of 1 (latest)

median heart
#

Hi, so Im trying to get the score of a player and I cant get the response cause the docs dont tell me what its named

const command = await world.runCommandAsync(`scoreboard players test "${name}" "${score}" * *`);
console.log(command.???)
ocean marshBOT
#
Thanks for asking your question!

Once you have finished, please close your thread.

median heart
#

the only thing it tells me is command.successCount is it and this returns a 1 and command.statusMessage is undefined

steel bobcat
#

there is no statusMessage anymore. Use the native methods instead.

median heart
#

so like...