Hello!
I want to create a !setmulti command that receive as input the channels of the friends, like this:
!setmulti @member @member @member ...
And then would return the following text, with the names of the friends when known:
"thischannel is playing $(game) with Name1, channel2, Name3, ... . You can check the multi here: https://multistre.am/thischannel/channel1/channel2/channel3/..."
To do that, I would have a Pastebin with a list of channels and the respective Names of the people running the channels, like this for this example:
:[channel1] Name1
:[channel3] Name3
(this list can be written differently if needed to achieve my goal here)
If the channel is not found on Pastebin (like was the case of channel2 in my example), the multi is made using the channel name instead of empty info.
However, I really need help doing it, because I'm not that good with Javascript. Can someone please help me telling me how to do it?