Author Topic: Is there a way to make command unique user only?  (Read 1533 times)

0 Members and 1 Guest are viewing this topic.

darthclide

  • Padawan
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
  • Twitch Name: darthclide
Is there a way to make command unique user only?
« on: January 16, 2016, 07:54:37 AM »
I see there is an access list for commands, and in most cases an access list should include a specific user, not just a group. Is this possible in some way?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Is there a way to make command unique user only?
« Reply #1 on: January 16, 2016, 08:29:54 AM »
Sort of. @if@[data||matchWith||matchedResult||FailResult]

Example: @if@[@user@||RepentGamingTV||!commandforUser123||You do not have access to this command!]
Old Name: RepentGamingTV
Twitch: Here

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

darthclide

  • Padawan
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
  • Twitch Name: darthclide
Re: Is there a way to make command unique user only?
« Reply #2 on: March 16, 2016, 04:54:23 AM »
Ummm, that is very confusing. Can you explicitly tell me how to make a command that only "eaglesquad1999" can use? Specifically, this command will have an audio file played when the command is used. And I only want the sound to play if he activates the command.

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Is there a way to make command unique user only?
« Reply #3 on: March 16, 2016, 05:48:40 AM »
Ummm, that is very confusing. Can you explicitly tell me how to make a command that only "eaglesquad1999" can use? Specifically, this command will have an audio file played when the command is used. And I only want the sound to play if he activates the command.


The command in a nutshell
@if@[@user@||eaglesquad1999||!commandforUser123||You do not have access to this command!]

Example of the full command:



On the actual command that the previous command runs, make sure to tick hide from command list.

Old Name: RepentGamingTV
Twitch: Here

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