I was wondering how you can make a command on night bot that does something like you kissed (random person) you married (random person) and you killed (random person)!
Emily
May 12, 2022, 7:57am
2
Hey @drchemisalive !
Please use the search bar before opening a new topic .
Hey @blockws !
I assume you want the 3 users to be picked at random, so we’ll borrow code from this command .
$(eval r=`$(urlfetch json http://tmi.twitch.tv/group/user/$(channel)/chatters)`;try{c=JSON.parse(r).chatters;a=c.vips.concat(c.moderators,c.staff,c.admins,c.global_mods,c.viewers).filter(n=>![`$(user)`,`Nightbot`,`UnwantedUser3`].some(o=>n.toLowerCase()==o.toLowerCase()));t=[];if(a.length<3) throw `not enough chatters in chat`;for(i=0;i<3;i++){t.push(a.splice(Math.floor(Math.random()*a.l…
system
Closed
May 26, 2022, 7:58am
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.