Russianroulette command

Does anyone know how to make a !russianroulette command if so please let me know!

Enter this into your chat:

!commands add !russianroulette $(eval Math.floor(Math.random() * 6) == 0 ? "You died" : "You survived")

It says invalid or unexpected token.

Seems working for me.

Can you show us exactly what you typed?

I typed !commands add !russianroulette $(eval Math.floor(Math.random() * 6) == 0 ? “You died” : “You survived”)

You need to use one of these characters for the qoutes " ’ or `
You are using “”

Ohhhh thank you it works

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