How do I make a nightbot command recognize user level?

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)

Copy and paste this response:

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

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