Can this sequence compare user's VIP classes or is it only variables that you can input such as random or coinflip?
My particular application is something seemingly simple I'm just not sure how to approach it yet. Shoutout to Mitch619911 for helping me out a lot to get as far as I have thus far.
Or... if there is simply a way to prevent users from using a command due to their VIP class... like no Bronze/Silvers/Golds could use the !trimmed command in my channel, this would also work.
@if@[@viprank@||VIP Bronze||1||@if@[@viprank@||VIP Silver||2||@if@[@viprank@||VIP Gold||3]]]
Though, I feel as if the sequence above is incorrect for what I'm wanting to do. I think it's a good start to demonstrate just exactly what it is I'm trying to accomplish though.
So... this so far is putting a numerical value to the user who starts this command's VIP class. I then need it to compare to the other VIP class values. Then... I need it to run the promote command if it determines the user is below the value. Or if it determines they're at or above the value, run a message stating they're already at that class or higher, generic deny message.
Is this possible? I'm having an extremely hard time. I'll try to layout my thoughts so people can understand what I want.
Bronze = 1
Silver = 2
Gold = 3
trimmed = 1
gilded = 2
heraldic = 3
commands for self promoting in my channel with bot with the appropriate costs:
!trimmed
!gilded
!heraldic
the command my bot uses to promote user's who trigger the self promotion commands are:
!trimme
!gildme
!heraldicme
example of how I imagine it happening.
Twitchuser69: !trimmed
99_Moderating: Twitchuser69 is now a Trimmed Member!
The bot checked to see Twitchuser69's VIP class, it determined they were a regular viewer. So it deducted the cost and promoted them.
Twitchuser69: !trimmed
99_Moderating: Twitchuser is already a Trimmed/Gilded/Heraldic Member!
The bot checked to see Twitchuser69's VIP class and found he was at or above rank 1, so instead of running the !trimme command it goes to the other @if@ variable, and states they're already at or above the rank.
Please send help. Drowning.