1
Help/Support / Re: Class Names
« on: December 22, 2016, 03:19:55 PM »
You can change the VIP names in the Master Settings:

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi, been trying to use this redeemption system.
And i get the fail status to work, with "not enogh credits"
but i can't get the messages in "The full successful command action looks like this:"
It's just empty after i do "!redeem 1"
but it takes the points
ive copy and pasted everything, but still wont work for some reason
/me Yo, Kerri! @user@ redeemed the "You choose the class/hero!" perk for @cost@ @pointsname@ PogChamp Play 5 games with @target@! @savelog@[E:\!Back Up\DOCUMENTS\WORK\TWITCH\Stream\Tools\Bots\kerribot\redeem\unfulfilled\redeem1.txt,@user@ | @target@ | @unixtime@]
/me Welcome to KerriPerks! Type "!redeem #" in chat, where # corresponds to the perk you'd like to redeem. You have @points@ @pointsname@ to spend. Check out the perks here: http://bit.ly/KerriPerksFAQ
Provides information to users on how to use KerriPerks (my perk redemption system). Take a look at the FAQ link for more context around why I designed some of the commands this way.@if@[>=||@points@||@readfile@[E:/LIVESTREAMS/StreamMods/bots/KerriBot/redeem/cost/@target@[1].txt]||!redeemlog @target@||!redeemfail]
This is the only actionable command that initiates a redeeming a perk. Everything else is done automatically following this if condition. This will first check if the user has enough points to redeem the perk they want.You only have @points@ @pointsname@, @user@! Get back to the mines! kerriRage
If the user doesn't have enough points to redeem, they're told to try harder.@savefile@[E:\LIVESTREAMS\StreamMods\bots\KerriBot\redeem\unfulfilled\@target@[1]_@user@_@counter@.txt,@user@ | @readfile@[E:\LIVESTREAMS\StreamMods\bots\KerriBot\redeem\perk\@target@[1].txt] | @target@[2|50]]
If the user does have enough points, the request is first logged in a new text file. @editpoints@[@user@|-@readfile@[E:/LIVESTREAMS/StreamMods/bots/KerriBot/redeem/cost/@target@[1].txt]]
Once the log has been created, the bot will edit the users points to remove however much the perk they nominated costs.Yo, Kerri! @user@ redeemed the @readfile@[E:/LIVESTREAMS/StreamMods/bots/KerriBot/redeem/perk/@target@[1].txt] perk for @readfile@[E:/LIVESTREAMS/StreamMods/bots/KerriBot/redeem/cost/@target@[1].txt] @pointsname@!
The points have been deducted, it's time to let the world know that someone redeemed a perk!@user@ has @points@ @pointsname@ left. Thank you for using KerriPerks!
Not necessary, but thanks the user for participating and provides an update on their remaining points available.My Queen! @lookupinfo@[@l_viprank@,@target@] @lookupinfo@[@l_streamrank@,@target@] @target@ has accumulated @lookupinfo@[@l_points@,@target@] @pointsname@. For @lookupinfo@[@l_hours@,@target@] hours, the swarm grows...
Returns: