!hug custom command not working

I have seen another variation of the custom hug command.

But i can’t seem to be able to write it myself

I want:
If the user typed !hug
nightbot will reply with (name of user) hugs (streamer)

and if user typed !hug (specific user)
nightbot will reply with (name of user) hugs (specific user)

1 Like

there r several ways to do it… just winging it, i’d do…

$(user) hugs $(eval if(“$(touser)”==“$(user)”){“$(channel)”}else{“$(touser)”})

p.s. and if Night sees this, i feel like a “tochannel” command variable would be a nice addition to the bot :wink:

1 Like

Make sure you are on the correct stream. Not the correct stream? Message me.

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