yamtest-01
Author: tb_salience
Description Launch Bot Current Users

Short Description:

Yet Another Menu (YAM): Limited-stock items + purchase history

Full Description

This is a low-frills menu bot, which does a few things I don't remember ever seeing. The streamer can add and remove items, import/export the menu, and wipe the menu and purchase history. Mods and the streamer can both adjust limits, reset hit counters, and view the purchase history.


Quickstart/Examples


Broadcaster: play these in order to get a feel for the bot.

/yam add dance 20 4
    Adds menu item 'dance' at price 20, which can be purchased 4 times.

/yam add jump around~24
    Adds menu item 'jump around' at price 24, which can be purchased an unlimited number of times.

/yam price 2 33
    Changes price of item 2 ('jump around') to 33.

/yam unlimit 1
    Removes the purchase limit of the 1st item of the menu ('dance').

/yam limit 1 0
    Disables the item, it will display as "sold out".

/yam limit 1 30
    Sets a 30-purchase limit on the item, implicitly reactivates it.

/yam export
    Produces a string of menu items for copy/pasting: dance~20~0|jump around~33~-1.

/yam delete 1
    Deletes the item (which should now be empty).

/yam import dance~20~20|jump around~33~-1
    Unpacks and adds a 20-token, 30-purchase 'dance' item. The 'jump around' item is skipped, as a 33-token item already exists in the menu.

/yam list
    Sends a notice of the listing to the user, with entry numbers (mod/streamer) or not (everyone else).

/yam reset 1
    Resets the hit counter for item #1, making it available again if it was sold out.

/yam hide
    No more auto-displays of the menu.

/yam show
    The menu now displays...

/yam interval 1
     ...every minute.

General Behavior

Management of individual items is menu driven. /yam list spits out the menu as a numbered list; YAM acts on those item numbers (not names), as shown in the examples above.


Once a menu item has more purchases than its assigned limit, it will display as 'sold out' to the public. Mods+Streamer will see both the item name and the 'sold out' text.


Entire menus can be exported and imported as a single line, pipe ('|') and tilde('~') separated. Copy them off for safekeeping, keep multiple copies to load whatever suits your mood for a given day or show.


Supported Commands


Letters in parentheses are abbreviated versions of those commands, e.g. "/yam l" is shorthand for "/yam list".

Available to streamer


Available to mods + streamer.
Any [num] value below must be the number of the item as displayed in the "list" command (e.g '/yam reset 4' to reset the 4th item in your menu):

Available to anyone

© Copyright Chaturbate 2011- 2024. All Rights Reserved.