NightDev Community Forums

[Error Connecting To WebEval Service] error

$(touser) es un $(eval)% sexy
This is my command and get this back when posting it what is the problem.

1 Like

@genexd There’s nothing in the eval at all. Seems you want a random number 1-100, so try

$(touser) es un $(eval Math.floor(Math.random()*101))% sexy
1 Like

Heya @genexd! :hugs:

You used eval wrong. If you want to do a random number between 1 to 100 here is the right command:

!addcom !sexy -cd=5 $(touser) es un $(eval Math.floor((Math.random() * 100) + 1))% sexy!

I hope I helped. :smile:

1 Like

Thankyou allot to all!! it worked.

1 Like