Not familiar with javascript at all.
I need a command that randomly outputs one of two responses with a 96:4 chance.
Thanks.
Not familiar with javascript at all.
I need a command that randomly outputs one of two responses with a 96:4 chance.
Thanks.
Type this in you chat
!addcom !(COMMAND_NAME) $(eval var random=(Math.floor(Math.random()*100)+1);random<=96?"RESPONSE_ONE":"RESPONSE_TWO")
The first response is the more common one.
Thanks! Missed the terminating bracket, though xd really appreciate it
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.