Elementium Sign in
Contents

Games & fun · Step

Whose turn

Whose move it is, and whether that's the member who clicked. Use it to answer someone pressing out of turn.

Free plan match.turn

In a flow

“When a button is clicked, whose turn.”

Column button → Whose turn → If not Their turn → Reply privately: Why not.

What it does

Whose move it is, and whether that's the member who clicked. Use it to answer someone pressing out of turn. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 7 values later steps can use. Find it under Games & fun in the palette.

When to use it

Use it for games and fun: whose move it is, and whether that's the member who clicked. Use it to answer someone pressing out of turn.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Match Text

Which match: the message it's played on, like {message.id} on a button, or Sent message's id.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses {message.id}.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more

Who Member

Leave unwired for the member who started the flow (the one who clicked), or wire one in.

What goes there: Type it in the side panel, or wire in a member. e.g. @Alex

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromAccept applicationApplication infoAsk a questionAsk follow-upBoard as emojiCall the next in the queueCase createdCheck for a lineand 86 more

Values it gives

Whose turn Member

The player to move now. e.g. @Sam

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toA member's variablesAdd a labelAdd a staff noteAdd answer to formAdd to a counterAdd to a leaderboardAdd to threadAdd to ticketand 647 more

Their mark Text

The turn player's piece, like 🔴. e.g. 🔴

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more

Their turn Yes / no

On when it is the member's move now. e.g. on

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more

In the match Yes / no

On when the member plays in it (even once it's over: for a rematch). e.g. on

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more

Their seat Number

Their seat, 1 first (0 if not in it). e.g. 1

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

Next player after them Member

Who plays after them: the opponent in a two-player game. e.g. @Alex

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toA member's variablesAdd a labelAdd a staff noteAdd answer to formAdd to a counterAdd to a leaderboardAdd to threadAdd to ticketand 647 more

Why not Text

When it didn't happen, the reason in words for the member (empty when it did). e.g. It's not your turn yet.

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more

Often next

Related in Games & fun

Wires and sockets · Data values · Plans