Players · Step
Look up a player
Look up any player who has ever joined, online or not, by name. It's slow, so it waits for the answer.
m.player.lookup
In a flow
“When a player uses a command → Look up a player {trigger.args} → Answer: {node.who.name} last joined {node.who.last_seen}.”
When a player uses a command → Look up a player {trigger.args} → Answer: {node.who.name} last joined {node.who.last_seen}.
What it does
Look up any player who has ever joined, online or not, by name. It's slow, so it waits for the answer. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 4 values later steps can use. Find it under Players in the palette.
When to use it
Use it when the flow needs to: look up any player who has ever joined, online or not, by name. It's slow, so it waits for the answer.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Name Text
-
The player's name, online or not, like Alex. Variables allowed.
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 {trigger.args}.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more
Values it gives
- Player Player (online or not)
-
The player, online or not. 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 toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more
- Found Yes / no
-
True when someone by that name has ever joined. e.g. true
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 573 more
- Online Yes / no
-
True when they're on right now. e.g. false
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 573 more
- Last seen Number
-
When they last played, in seconds since 1970. e.g. 1700000000
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 719 more