Author Topic: Channel command exclusive for viewer (excluding any VIPs)  (Read 2409 times)

0 Members and 2 Guests are viewing this topic.

Godzinhu

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Godzinhu
Channel command exclusive for viewer (excluding any VIPs)
« on: September 16, 2016, 10:52:56 PM »
Why ?

In my stream i use the points to garant acess to extra features (such as animated commands, sound comnands etc)

So my viewers uses a command and become a VIP Bronze, the issue behind this is that everyone may do the command, including the same guy that did the command, it does not discount the points for repetitive attempts but it make a spam on the stream, so i would like to make a command that only common viewers may be able to use it.

I hope that i make my self clear and sorry about my english xD

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Channel command exclusive for viewer (excluding any VIPs)
« Reply #1 on: September 17, 2016, 02:54:39 AM »
Probably use an @if@ statement.

@if@[@userclass@||Viewer||!givevipbronze||You can't use this command.]

Example Setup:

Command for viewers to use:



!givevipbronze:




If you want to import what I have, here is the json: http://pastebin.com/raw/4kvH3Ez9

How to Import Commands Guide: http://wiki.deepbot.tv/import_and_export_commands


Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

Godzinhu

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Godzinhu
Re: Channel command exclusive for viewer (excluding any VIPs)
« Reply #2 on: September 21, 2016, 03:40:11 PM »
Tank you, i also have a question, can i set the user class for more than one ? i mean for exemple, Viewers and mods ?

EDIT: ok i figured a way to do that, but the commands seems to work ocasionaly, sometimes it works, sometimes it does not work, im gona show the screenshots of my commands

http://prntscr.com/ckk13k (this one is for the viewer bronze)

http://prntscr.com/ckk1oy (this one is for the mod1 get bronze)

http://prntscr.com/ckk1z6 (this one is for the mod2 get bronze)




---------

I have another question. Can i set a command for display a list of a commands on a specific group ?

For exemple, i want to VIP Bronze and mods see my list of "Whatevercalled" group of commands
« Last Edit: September 21, 2016, 05:40:09 PM by Godzinhu »

Godzinhu

  • Youngling
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Godzinhu
Re: Channel command exclusive for viewer (excluding any VIPs)
« Reply #3 on: September 21, 2016, 06:03:15 PM »
(for some reason i cant edit my last message so im posting again)

http://prnt.sc/ckk3vf (the error should only be written on the last command like that right ?)

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Channel command exclusive for viewer (excluding any VIPs)
« Reply #4 on: September 22, 2016, 12:52:17 AM »
Try setting the two commands for mods to user (elevated access) like the first one.
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport