NightDev Community Forums

Some more fun commands i tryed to make

Some fun commands I tryed to make.

!multi (for multiple twitch streams) (edited by Aaron128l )

$(eval if(!`$(query)`){`Please enter 1 or more usernames after the command ( !multi UserName UserName UserName )`}else{`You can watch our stream at the SAME TIME right at this link!! http://www.multitwitch.tv/ `+`$(query)`.split(' ').reduce((acc, e) => (!e) ? acc : acc += `/${e}` ,`$(channel)`)})

How to use:

!multi StreamerName SteamerName

Would generate:

 You can watch our stream at the SAME TIME right at this link!! http://www.multitwitch.tv/YourStream/StreamerName/SteamerName

!8ball (ask a question and get a random answer)

$(eval if(!`$(query)`){`Please ask a Question ( !8ball <Question> )`}else{r=["It is certain","It is decidedly so","Without a doubt","Yes definitely","You may rely on it","As I see it, yes","Most likely","Yes","Signs point to yes","Reply hazy, try again","Ask again later","Better not tell you now","Cannot predict now","Don't count on it","My reply is no","My sources say no","Very doubtful"];(r[ Math.floor(Math.random() * r.length) ])+` @$(user)`})

How to use:

!8ball Did i use this command correctly?

!google (a random of 3 reply to create a string for a google search)

$(eval if(!`$(query)`){`Please enter your search ( !google <search> )`}else{r=["Too lazy to open a new tab? Here let me do it for you:","Google Service Activated! Generating URL!","Let me make you a link so you can just click it and be over with it. Here you go:"];(r[ Math.floor(Math.random() * r.length) ])+" https://www.google.com/search?q=$(querystring)"})

How to use:

!google how do i use this command

!rip (count your total deaths that chat noticed)

Deaths ( $(count) ) ! $(eval r=["What a Scrub OhGod","Stop Dying RageFace","Git Gud PokerFace","This happens to many times OhMyGoodness","+1 and I'll keep counting BroBalt","*puts another line at deaths* (chompy)","What a NooB DuckerZ"];(r[Math.floor(Math.random()*r.length)]))

How to use: !rip

!psn (integrated into Nighbot but added a empty reply)

$(eval if(!`$(query)`){`Please typ ( !psn username )`}else{`$(psn $(touser))`})

How to use:

!psn PSNusername

Here is a more dynamic !mutil command that doesn’t require a number, just a user list separated with spaces.

!commands add !multi You can watch our stream at the SAME TIME right at this link!! http://www.multitwitch.tv/$(eval `$(query)`.split(' ').reduce((acc, e) => (!e) ? acc : acc += `/${e}` ,`$(channel)`))

Awesome! i edited it in the post with your name. And i also changed it on all the channels i do commands for! You are awesome :smiley:

PS: i did edit it so it would reply differently if you left it empty

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.