Notifications and Variables

Hi, I need help to configure 2 commands in my stream with nightbot.

1 - How can I make nightbot answer the new follow and subs?
“$(touser) Thanks for Following $(channel)”

2 - How can I make a variable with diferent names?
“$(touser) your level is (Global, Supreme, Legendary Eagle…)”

Thanks for help!

Sorry! My english is not very good! SAD!

@the_neow

  1. Sorry, Nightbot doesn’t automatically detect for new followers or subscribers.

  2. I’m not 100% sure what you mean by this. How do you want Nightbot to determine what level a user has?

Aleatory level! But not with numbers, with names. (Global, Supreme, Legendary Eagle, Eagle, AK X, AK II, AK, Gold 4…)

This will give the command user a random level:

$(eval a=[`Global`,`Supreme`,`Legendary Eagle`,`Eagle`,`AK X`,`AK II`,`AK`,`Gold 4`];`$(user), your level is ${a[Math.floor(Math.random()*a.length)]}`)

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