Author Topic: Giveaway set amount to random person  (Read 1198 times)

0 Members and 1 Guest are viewing this topic.

MeMuffin

  • Youngling
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
  • Twitch Name: MeMuffin
Giveaway set amount to random person
« on: September 06, 2016, 02:44:00 PM »
Hello,

I now ask for assistance to make a command for users to execute. The idea is that they can give away a set amount of points to a random person
Example:
!rangive (Set amount 200 by the command, users should not be allowed to set the amount them selfs)
Then it gives 200 to a random person that is in the stream.

The amount that is given away should ofc be widrawn from the user and given to the random user in the stream.

Would be super greatly appriciated if i can get help making this command!

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Giveaway set amount to random person
« Reply #1 on: September 07, 2016, 12:44:54 AM »
Command: !giverandom

Message of Command: !give @randomuser@ 200


Info: Make sure you enable give command for users in the Master Settings > Misc Settings, on the Config tab.




Old Name: RepentGamingTV
Twitch: Here

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

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Giveaway set amount to random person
« Reply #2 on: September 07, 2016, 05:54:00 AM »
Note that if you use !give it will actually take the points from whoever runs it and then give them to the random user.  If you want it to just add points to the random user like a random giveaway then use !add