---
title: "{user}"
description: The person who ran the command - and everything TipPage knows about them.
---

```text
{user}                 their display name
{user:login}           someone else's display name
{user.field}           a fact about them - see the table
{user.field:login}     the same fact about someone else
```

**Platforms:** Twitch and Kick, every field. Chat stats (`messages`, `first_seen`, `last_seen`, `last_message`) are kept per platform chat, so `{user.messages}` in Kick chat counts Kick messages; the tip fields cover both accounts once a viewer has linked them.

On its own, `{user}` is the display name of whoever ran the command -
capitals and all, the way it shows in chat, on Twitch or Kick. Add a field for
more, and add a login to ask about a different person (a leading `@` is
fine - `{user.messages:{touser}}` is the usual way).

## Fields

| Variable | Becomes |
| --- | --- |
| `{user.name}` | Their login, lowercase - what goes after `twitch.tv/` or `kick.com/` |
| `{user.id}` | Their user id on the platform they're chatting on |
| `{user.level}` | `broadcaster`, `moderator`, `vip`, `subscriber` or `viewer` (only known for the person who ran the command) |
| `{user.messages}` | How many messages they've sent in your chat, all time |
| `{user.first_seen}` | How long ago they first chatted here, like `3 months, 2 days` |
| `{user.last_seen}` | How long ago they last chatted, like `2h 5m ago` - `just now` for the person asking, `never` if we've not seen them |
| `{user.last_message}` | The last thing they said in your chat (see below) |
| `{user.tipped}` | Everything they've tipped you, like `£42.50` |
| `{user.tips}` | How many tips that was |
| `{user.rank}` | Where that puts them among your tippers, like `3/120` - empty if they've never tipped |
| `{user.last_tip}` | Their most recent tip, like `£5.00, 3d 2h ago` |
| `{user.queued}` | How many of their requests are waiting in your queues right now |

Tip figures only count tips sent while signed in on your tip page -
that's how a tip gets tied to a Twitch or Kick account. Refunded tips
don't count.

Every `{user.*}` field works on both Twitch and Kick. A viewer who has
[linked their Twitch and Kick accounts](/tip-page/what-viewers-see#linked-accounts)
counts as one person: their chat stats and tips add up across both, so
`{user.tipped}` in your Kick chat includes what they tipped while signed in
with Twitch.

## Examples

```text
!hi        →  Hey {user}, welcome in!
!lurk      →  {user} is now lurking. Enjoy the stream from the shadows 👀
!stats     →  {touser} has sent {user.messages:{touser}} messages here and first showed up {user.first_seen:{touser}} ago
!seen      →  {touser} was last seen {user.last_seen:{touser}}
!said      →  {touser} last said: {user.last_message:{touser}}
!tipped    →  {user} has tipped {user.tipped} across {user.tips} tips - rank {user.rank}. Legend.
!queue     →  {if:{user.queued}>0|{user}, you have {user.queued} in the queue|Nothing queued for you, {user}}
!whoami    →  {user} is a {user.level} (id {user.id})
```

## About `{user.last_seen}` and `{user.last_message}`

For every person who chats in your channel the bot keeps one thing: their
most recent message and when they sent it. It's overwritten each time
they speak - a last-seen card, not a chat log - and it's kept per
channel, so what someone said in another streamer's chat never shows up
in yours. It survives restarts, so `!seen` works from the moment the bot
starts reading your chat.

For the person running the command, `{user.last_message}` is the message
they sent *before* this one - the command itself is never reported back
as their last message. Asking about someone else (`{user.last_message:{touser}}`)
gives that person's most recent message.

## Notes

- In [announcements](/chat-bot/announcements) `{user}` is the person the
  alert is about - the follower, the subscriber, the raider.
- In [timers](/chat-bot/timers) nobody ran anything, so `{user}` is left
  as typed. Use `{channel}` there instead.
- For "the person this command is *about*" - `!hug @Alice` - use
  [`{touser}`](/chat-bot/variables/touser), and combine:
  `{user.tipped:{touser}}`.
