Author Topic: Give Points if RandomUser = Streamer  (Read 4578 times)

0 Members and 1 Guest are viewing this topic.

GingaNinja

  • Youngling
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
  • Twitch Name: GingaN1nja
Give Points if RandomUser = Streamer
« on: February 25, 2018, 03:22:49 AM »
I have a command as follows. I would like it if the randomuser is the streamer, then give them 100 currency. Is this possible? If so, can I get some assistance?

@user@ slowly walks in the darkness, pulls out a ninja star and throws it at @randomuser@ !! PogChamp

GingaNinja

  • Youngling
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
  • Twitch Name: GingaN1nja
Re: Give Points if RandomUser = Streamer
« Reply #1 on: March 20, 2018, 09:11:38 AM »
Should this post have been put in another section of the forum? Is there a good way to move  the OP?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Give Points if RandomUser = Streamer
« Reply #2 on: March 20, 2018, 07:32:26 PM »
@if@[@randomuser@||ginganinja||@user@ slowly walks in the darkness, pulls out a ninja star and throws it at @randomuser@ !! PogChamp @exec@[!add 100 @user@]||@user@ slowly walks in the darkness, pulls out a ninja star and throws it at @randomuser@ !! PogChamp]

Simple version.
Old Name: RepentGamingTV
Twitch: Here

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

GingaNinja

  • Youngling
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
  • Twitch Name: GingaN1nja
Re: Give Points if RandomUser = Streamer
« Reply #3 on: March 21, 2018, 09:54:43 AM »
Thanks for the response TheNumbLock! Unfortunately, I am getting the response "Exec Format Error". The full response is as follows when having another user test to ensure it wasn't an issue with testing from my own account for some reason:

oneshotkilla2014 slowly walks in the darkness, pulls out a ninja star and throws it at ginganinja !! PogChamp Exec Format Error

I am trying to look into it and it looks like the exec variable needs a time as another variable in the statement or it has to be used to chain to another command. Perhaps chaining to another command is the key?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Give Points if RandomUser = Streamer
« Reply #4 on: March 21, 2018, 07:46:53 PM »
Make sure you set the command to run as user (elevated access)
Old Name: RepentGamingTV
Twitch: Here

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

GingaNinja

  • Youngling
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
  • Twitch Name: GingaN1nja
Re: Give Points if RandomUser = Streamer
« Reply #5 on: March 22, 2018, 07:36:01 AM »
Thanks for trying to help TheNumbLock! Unfortunately, it still isn't working. It is giving the same error. I even tried with bot permissions.

GingaNinja

  • Youngling
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
  • Twitch Name: GingaN1nja
Re: Give Points if RandomUser = Streamer
« Reply #6 on: March 28, 2018, 10:46:38 PM »
Is there another variable that is needed in the exec syntax? Do we need another command to be issued from the exec command? I feel like this is close to working.

GingaNinja

  • Youngling
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
  • Twitch Name: GingaN1nja
Re: Give Points if RandomUser = Streamer
« Reply #7 on: April 03, 2018, 07:03:07 AM »
Any additional help that anyone could offer would be appreciated.

GingaNinja

  • Youngling
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
  • Twitch Name: GingaN1nja
Re: Give Points if RandomUser = Streamer
« Reply #8 on: April 20, 2018, 07:44:50 AM »
If this isn't possible due to Deepbot limitations, please let me know. I am okay with that, just hoping for a solution since I support Deepbot monthly.

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Give Points if RandomUser = Streamer
« Reply #9 on: April 20, 2018, 07:51:27 PM »
Just create another command that does !add command and just put the @exec@[!command] where we stated. Then it will work.
Old Name: RepentGamingTV
Twitch: Here

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

ThatGirlSlays

  • Youngling
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
    • Instagram
  • Twitch Name: ThatGirlSlays
Re: Give Points if RandomUser = Streamer
« Reply #10 on: April 30, 2018, 01:45:50 PM »
It works for me exactly as typed. Sorry I cannot be of any help. Did you alter the command at all? Perhaps copy exactly what you entered as your command?

ThatGirlSlays

  • Youngling
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
    • Instagram
  • Twitch Name: ThatGirlSlays
Re: Give Points if RandomUser = Streamer
« Reply #11 on: April 30, 2018, 01:51:49 PM »
Try this

@if@[@randomuser@||thatgirlslays||ThatGirlSlays was selected @exec@[0,!add 100 @user@]||ThatGirlSlays was not selected]

GingaNinja

  • Youngling
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
  • Twitch Name: GingaN1nja
Re: Give Points if RandomUser = Streamer
« Reply #12 on: May 01, 2018, 09:42:05 AM »
Thanks for the updates you two! I will give those a shot.