NightDev Community Forums

Help on command of different answers

#1

I need help on a related command, command of different answers “oracle or wise” that you put a command for example ,!oracle and respond with different answers

#2

@MShooter43

Some sort of 8-ball then?
This should work as you wish:

!addcom !oracle $(eval a=["ANSWER_1","ANSWER_2","ANSWER_X"];a[Math.floor(Math.random()*a.length)]) 

You can add as many answers as you wish until you reach 498 characters for the !addcom, each answer shouldn’t be longer than 400 characters. Be careful to separate your answers by a comma and to put them between quotation marks.