Author Topic: Giveaway in a txt file  (Read 1104 times)

0 Members and 1 Guest are viewing this topic.

schokobaron

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Schokobaron
Giveaway in a txt file
« on: May 23, 2016, 05:33:07 PM »
Hello!

I want to make a giveaway over a week. I want to have a txt file and everytime someone puts in !enterGA, he loses 200 points and his name will be in 1 line of the txt file. You can also enter multiple times. so if he types !enterGA 3 times over the course of the week, his name will be 3 times in the pot.
After the giveaway the file and so on could reset with a command (delete all?) or something, but thats not important.

Could this be done with deepbot? :)

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Giveaway in a txt file
« Reply #1 on: May 23, 2016, 09:54:11 PM »
Yes.

Command:

!enterGA
Message: @savelog@[giveaway.txt,@user@]
Cost: 200
Chain: !enterGA2
Insufficient Point Message: Sorry, you do not have enough points to enter.



!enterGA2
Message: Congrats, @user@ you have been entered into Giveaway!
Old Name: RepentGamingTV
Twitch: Here

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