Recipes
Working custom command examples you can copy, run, and adapt.Every recipe below is a single
;cc set line. Paste it, then run ;cc preview (name) before letting the server loose on it.
1. Greeting with a fallback
1
Create it
2
With a message
Hello @wanderer! how is it going?
3
Without one
Hello @wanderer! Welcome to the server.
2. Coin flip
tails
3. Reusing a random result
Save the roll under a name so the conditional sees the same value the text shows.You flipped heads! Thatβs lucky.
4. Dice with fixed sizes
{range} needs literal numbers, so branch on the argument instead of interpolating it.
You rolled a 14.
5. Balance check
@you β wallet 1,200 coins, bank 300 coins, net worth 1,500 coins.Add a threshold with the raw number:
6. Staff warn with the case number
Requires Manage Messages to create and to run.Warned @wanderer β case #104.
7. Notes that read back what you saved
Inline{db.*} tags run in order, so the read sees the write from the same response.
1
Save a note
Saved. Your note is now: buy some milk
2
Read it later
{if:...}.3
Clear it
8. A counter
@wanderer now has 3 strike(s).
9. Role-gated text in one command
10. Embed panel with link buttons
11. Self-serve role buttons
12. Anonymous confession
Deletes the trigger, says nothing in the current channel, and posts the text somewhere else.Anonymous: I actually like pineapple pizza.

