How do I make a nightbot command recognize user level?

Asked Feb 25, 2020·1 reply·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

For example:
Well hello there $(user) -- thanks for dropping by!

If the user was a vip, the command could say:
All Hail the mighty $(user)

1 reply

Copy and paste this response:

$(eval `$(userlevel)`==`twitch_vip`?`All Hail the mighty $(user)`:`Well hello there $(user) - thanks for dropping by!`)