Back to Snippets

Clicking Game Snippet.

This snippet lets you run a simple clicking game using buttons, adds custom multiplers as items and also adds a shop to view them.
How to Use?
Add the commands with their respective triggers in your app. Avoid modifying anything unless you know what you're doing. Make sure to include four variables named: "clicker","item1", "item2" and "item3" with values set as 0. If you want to add more items just add more like "item4", "item5", etc.
Credits
Inspired by my own djs discord bot.

$nomention
$onlyIf[$guildID!=;]

$title[Clicking Game]
$description[Hey <@$authorID>,
Click the button below to gain clicks and have fun!!
You currently have `$getVar[clicker;$authorID]` clicks and have these multipliers:
$if[$getVar[item1;$authorID]!=0]Item 1: `+$getVar[item1;$authorID]` ($getVar[item1;$authorID])$else no item1 multiplers :<$endif
$if[$getVar[item2;$authorID]!=0]Item 2: `+$getVar[item2;$authorID]` ($divide[$getVar[item2;$authorID];2])$else no item2 multiplers :<$endif
$if[$getVar[item3;$authorID]!=0]Item 3: `+$getVar[item3;$authorID]` ($divide[$getVar[item3;$authorID];3])$else no item3 multiplers :<$endif
]
$c[Keep adding more if (and all that) here to include more items]
$color[#2F3136]
$addButton[no;clicker;;secondary;no;🖱️]
$addButton[no;clicker-shop;Shop;secondary;no;]