Author Topic: User text entry  (Read 859 times)

0 Members and 1 Guest are viewing this topic.

wonderwez

  • Youngling
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
  • Twitch Name: WonderWez
User text entry
« on: October 27, 2016, 12:15:16 AM »
Is there any way to grab the text a user enters following a command? For example, let's say I offer a chance for people to submit character name ideas via a command that they have to pay points for. The idea would be to setup a command "!name", that has a currency cost. Then when they enter the command (!name Stellagosa), it posts the message "@user@ has suggested the name 'Stellagosa'!" Or if someone enters "!name Little Bo Peep" it returns: "@user@ has suggested the name 'Little Bo Peep'!"

I can't seem to find a command for custom text entry, so I'm not sure if it's an option here...

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: User text entry
« Reply #1 on: October 27, 2016, 03:33:40 AM »
It is @target@. All available custom command variables can be found here: http://wiki.deepbot.tv/custom_commands
Old Name: RepentGamingTV
Twitch: Here

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