How do I make Nightbot to say "Hi" back?

Hey guys, how do I make Nightbot to say hi to a user on YouTube live chat?

An example…
Xxx: Hi Nightbot
Nightbot: Hi Xxx hope you’re having a good time!

Is it possible?!

1 Like

If you only want Nightbot to reply when the user is talking to Nightbot:

!commands add hi $(eval /^@*nightbot/i.test(decodeURIComponent("$(querystring)")) ? `Hi ${decodeURIComponent("$(querystring $(user))")} hope you’re having a good time!` : " ")

If you always want Nightbot to reply:

!commands add hi Hi $(user) hope you’re having a good time!
2 Likes

thank you very much, again!

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