Hello, I’ve this command:
$(sender) lick $(touser) $(2) $(random.1-100) times LICKA
It works only if also second value (2) is given. Is there a way to transform $(2) as an optional value?
this command looks like it’s written for streamelements, the code i’m about to give u will only work in nightbot… but here it is…
$(user) licks $(touser)$(eval let a=`$(2)`,b=Math.floor(Math.random()*100)+1;`${a!=`null`&&a!=``&&a!=` `?`'s ${a}`:``} ${b} time${b==1?``:`s`}`) LICKA
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.