NIGHTBOT Commands with multiple outcomes

I want a command that choose especific user , but when you type only the command calls a random user in the chat. I have something like this


$(user) has sent a kiss to $(touser), or $(urlfetch$(channel))

I dont really know how to make it an optional answer

Hiya, you would need something like this:

$(user) has sent a kiss to $(eval '$(touser)' == '$(user)' ? '$(urlfetch$(channel))' : '$(touser)')

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