Skip to content

Store sub-actions

Approve or reject store redemption

Approves a points store purchase that waits for you, or rejects it and gives the points back. Good for a mod button or a chat command.

Setting What to put in
Do Approve = the viewer gets what they bought. Reject = turn it down and give the points back. Options: Approve, Reject. Starts as: Approve.
Redemption id Which purchase, by its id. Empty = the oldest purchase that is still waiting.

Variables it adds

Variable What it holds
%success% True if a waiting purchase was found and handled

Type id: store.review

Set store item

Changes a points store item: switch it on or off, or change how many are left. Good for selling a limited item only at certain times.

Setting What to put in
Item The item's name, exactly as in your store.
Available Keep = leave as it is. Enable = viewers can buy it. Disable = hide it. Toggle = switch to the opposite. Options: Keep, Enable, Disable, Toggle. Starts as: Keep.
Stock How many are left. Empty keeps it. 10 sets it to 10. +5 adds five, -5 takes five away. -1 means unlimited.

Variables it adds

Variable What it holds
%itemEnabled% True if the item can be bought now
%itemStock% How many are left (-1 means unlimited)

Type id: store.setItem