Author Topic: Questions about VIP Stars & Info 1 Slot :)  (Read 3148 times)

0 Members and 1 Guest are viewing this topic.

KerriQueen

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
    • KerriQueen
  • Twitch Name: KerriQueen
Questions about VIP Stars & Info 1 Slot :)
« on: March 01, 2016, 05:25:33 AM »
Is there a way to change the VIP stars that appear next to a viewer's username when they are VIP? I'd like to customize those stars to images of my liking and I couldn't find it within the DeepBot files.

Also, for the Info 1 spot in the master settings... is there a way to make a command that will input custom info in that slot, but only allow the viewer to use that command ONE time?

I appreciate any response! Thank you. <3

Nazo

  • Padawan
  • **
  • Posts: 70
  • Karma: +2/-0
  • Expert on Twitch Bots
    • View Profile
  • Twitch Name: OverlordNazo
Re: Questions about VIP Stars & Info 1 Slot :)
« Reply #1 on: March 01, 2016, 07:33:41 AM »
Is there a way to change the VIP stars that appear next to a viewer's username when they are VIP? I'd like to customize those stars to images of my liking and I couldn't find it within the DeepBot files.
Not currently.

Also, for the Info 1 spot in the master settings... is there a way to make a command that will input custom info in that slot, but only allow the viewer to use that command ONE time?
There is currently no way to change the info in any of the @userinfo@ commands through chat. However, I believe there is a way to make it so that a command can be limited to one use per viewer.
★ Twitch Bot Expert ★


YouTube: Lord Nazo
Twitch: OverlordNazo
Twitter: @Lord_Nazo

KerriQueen

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
    • KerriQueen
  • Twitch Name: KerriQueen
Re: Questions about VIP Stars & Info 1 Slot :)
« Reply #2 on: March 01, 2016, 07:50:19 AM »
There is currently no way to change the info in any of the @userinfo@ commands through chat. However, I believe there is a way to make it so that a command can be limited to one use per viewer.

Thank you! Do you happen to know how to achieve this? :)

Nazo

  • Padawan
  • **
  • Posts: 70
  • Karma: +2/-0
  • Expert on Twitch Bots
    • View Profile
  • Twitch Name: OverlordNazo
Re: Questions about VIP Stars & Info 1 Slot :)
« Reply #3 on: March 02, 2016, 02:26:45 AM »
Thank you! Do you happen to know how to achieve this? :)
Yes, I do. Did you want there to be a cooldown for the command or just a one-time use per viewer?
★ Twitch Bot Expert ★


YouTube: Lord Nazo
Twitch: OverlordNazo
Twitter: @Lord_Nazo

KerriQueen

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
    • KerriQueen
  • Twitch Name: KerriQueen
Re: Questions about VIP Stars & Info 1 Slot :)
« Reply #4 on: March 03, 2016, 06:05:09 AM »
Thank you! Do you happen to know how to achieve this? :)
Yes, I do. Did you want there to be a cooldown for the command or just a one-time use per viewer?

One time use per viewer, please. :)

Nazo

  • Padawan
  • **
  • Posts: 70
  • Karma: +2/-0
  • Expert on Twitch Bots
    • View Profile
  • Twitch Name: OverlordNazo
Re: Questions about VIP Stars & Info 1 Slot :)
« Reply #5 on: March 03, 2016, 07:28:37 AM »
One time use per viewer, please. :)
OK. What should the command be called and what should it do? Is it going to use one of the @userinfo@ variables?
★ Twitch Bot Expert ★


YouTube: Lord Nazo
Twitch: OverlordNazo
Twitter: @Lord_Nazo

KerriQueen

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
    • KerriQueen
  • Twitch Name: KerriQueen
Re: Questions about VIP Stars & Info 1 Slot :)
« Reply #6 on: March 03, 2016, 09:00:46 AM »
One time use per viewer, please. :)
OK. What should the command be called and what should it do? Is it going to use one of the @userinfo@ variables?

It's going to reward a one time amount of points to the user when they execute the command. Honestly if you don't mind giving me an example of how to allow it to be used only once, I can figure out the rest. :o

Nazo

  • Padawan
  • **
  • Posts: 70
  • Karma: +2/-0
  • Expert on Twitch Bots
    • View Profile
  • Twitch Name: OverlordNazo
Re: Questions about VIP Stars & Info 1 Slot :)
« Reply #7 on: March 04, 2016, 05:49:32 AM »
OK. You'll have to make another folder in the custom logs folder, so label it Reward (or whatever you want the command to be called).

Here's what the commands should look like:

Enable User (Elevated Access) for ALL of these!

!reward
Code: [Select]
@if@[@readfile@[Reward/@user@.txt]||||!rewardpass||!rewardmath]
!rewardmath
Code: [Select]
@if@[<=||@calc@[+|@unixtime@|@readfile@[Reward/@user@.txt]]||0||!rewardpass||!rewardfail]]]
!rewardpass
Code: [Select]
@user@ received <amount> @pointsname@! @editpoints@[@user@|+<amount>] @savefile@[Reward/@user@.txt,@unixtime@]
!rewardfail
Code: [Select]
Sorry, @user@, you can only use that command once.

★ Twitch Bot Expert ★


YouTube: Lord Nazo
Twitch: OverlordNazo
Twitter: @Lord_Nazo

Nazo

  • Padawan
  • **
  • Posts: 70
  • Karma: +2/-0
  • Expert on Twitch Bots
    • View Profile
  • Twitch Name: OverlordNazo
Re: Questions about VIP Stars & Info 1 Slot :)
« Reply #8 on: March 04, 2016, 10:36:35 AM »
EDIT: I figured out a way to make it possible with only one command.

!reward
Code: [Select]
@if@[@readfile@[Reward/@user@.txt]||||@user@ received <amount> @pointsname@! @editpoints@[@user@|+<amount>] @savefile@[Reward/@user@.txt,Logged]||Sorry, only one per customer!]
The only things you have to do from here is set it to run as User (Elevated Access) and make a folder in your custom logs folder and title it Reward. Also, make sure you replace <amount> with the desired number of points you want viewers to receive from this command. ;)

Don't delete the text files that appear the Reward folder, they're used to prevent users from using the command again.
« Last Edit: March 04, 2016, 10:44:11 AM by Nazo »
★ Twitch Bot Expert ★


YouTube: Lord Nazo
Twitch: OverlordNazo
Twitter: @Lord_Nazo