Random response to a command

I want to seup a !mug command where people try to mug the person streaming and you have 2 responese either you get to mug them or not and have a low chance on mugging the streamer

Hey @knightsbliss1491!

There are already thousands of similar topics, please use the search bar in the future.

The user has a 10% chance to mug the streamer:

!addcom !mug $(eval r=Math.floor(Math.random()*10); r==0?`$(user) managed to successfully mug $(channel)!`:`$(user) tried to mug $(channel) and miserably failed...`)

thanks i did i just wasn’t sure how to adjust the commands to work for what i wanted it wasn’t for lack of searching

Alright, fair enough!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.