On chatbot we can create a command to execute another commands to create a better ending for viewers. Like, A command "!lootbox" where, when the users execute this command, He will earn a random number as loyalty points. the lootbox executes the "!addpoints" function.
Here is how I do that on chatbot, but I can't do that on Cloudbot "YET" I hope you could implements this soon.
$addpoints("$userid","$randnum(1)","$randnum(1000)","$userid earned $value points PogChamp","")