diff --git a/chat-plugins/scavengers.js b/chat-plugins/scavengers.js
index f1b20a9acb..f9db0031a7 100644
--- a/chat-plugins/scavengers.js
+++ b/chat-plugins/scavengers.js
@@ -779,8 +779,27 @@ let commands = {
if (!room.game || !room.game.scavGame) return this.errorReply(`There is no scavenger game currently running.`);
let game = room.game.childGame || room.game;
- let elapsed = Date.now() - game.startTime;
- this.sendReplyBox(`The current ${game.gameType ? `${game.gameType} ` : ""}scavenger hunt by ${Chat.escapeHTML(Chat.toListString(game.hosts.map(h => h.name)))}${(game.hosts.some(h => h.userid === game.staffHostId) ? '' : ` (started by - ${Chat.escapeHTML(game.staffHostName)})`)} has been up for: ${Chat.toDurationString(elapsed, {hhmmss: true})}
Completed (${game.completed.length}): ${game.completed.map(u => Chat.escapeHTML(u.name)).join(', ')}
`);
+ if (game.hosts.some(h => h.userid === user.userid) || game.staffHostId === user.userid) {
+ let str = `
| Question | Users on this Question | `; + for (let i = 0; i < game.questions.length; i++) { + let questionNum = i + 1; + let players = Object.values(game.players).filter(player => player.currentQuestion === i); + if (!players.length) { + str += `
|---|---|
| ${questionNum} | None | `; + } else { + str += Chat.html`
| ${questionNum} | ${players.map(pl => pl.name).join(", ")}`; + } + } + str += Chat.html` |
| Completed | ${game.completed.length ? game.completed.map(pl => pl.name).join(", ") : 'None'}`; + this.sendReply(`|raw|${str} |