Some aliases in one command


#1

Hi there!
I have a question. Can I create a command which will link to 2 or 3 other commands?
Example:
Me: !nightbot
NB: What?
Me: !nightbot
NB: How are you?
Me: !nightbot
NB: Are you talking to me?

If it is possible, please help me to do this :smiley:
Very much thanks!


Getting around character limit on commands
#2

Hey there, if the order of responses doesn’t matter, take a look at the Choices custom API:
http://community.nightdev.com/t/useful-custom-apis/4102
It’s the second API in the Fun list. Replace CHOICES with comma seperated responses, the API will pick one random response.


#3

Ok, I got it.
But now, I don’t understand how to build a command with using this API :confused:
Need help :disappointed_relieved:


#4

Something like this:

!commands add !nightbot $(urlfetch https://api.rtainc.co/twitch/random?format=[0]&choices=a,b,c)

Now replace a b c with options you would the command to display.


#5

Thank you very much!!
It works!! <3


#6

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