$waitForMessage[command;time;timeout command?;who?]
Waits for the next message in this channel from the user, or from anyone. Then runs an awaited command with it.
Values
command- The name of an awaited command of this bot.
time- How long to wait, like 30s or 5m, at most 1h.
timeout command- Optional. An awaited command that runs when nobody answers in time.
who- Optional. Anyone lets everybody answer and makes $username the one who answered, leave it out for only this user.
Example
What is 2 + 2?
$waitForMessage[check-answer;30s;too-slow]
Asks, then runs check-answer with the reply, or too-slow after 30 seconds