How do I get Nightbot to send a random response when a chat command is activated?
Use this format
$(eval a=[`Response1`,`Response2`,`Responsex`,`...`];a[Math.floor(Math.random()*a.length)])
Try searching on the forums in the future before posting as more likely than not your question has already been answered before.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.