name: "Stress Send"
description: "Send 100 messages in a loop to measure throughput"
variables:
  recipient: "bob"

steps:
  - command: dm
    args:
      username: "$recipient"

  - command: send
    args:
      text: "Stress message #$i"
    loop:
      var: i
      from: 1
      to: 100
    on_error: continue

  - command: history
    args:
      count: 5
