Author Topic: Need help for a custom command !  (Read 1159 times)

0 Members and 1 Guest are viewing this topic.

whitefox2k

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Whitefox2k
Need help for a custom command !
« on: July 11, 2017, 05:32:24 AM »
hey guys,. sry for bad english first ::

i tryto establish a game in my bot and i got 2 problems .

first : i want a command like -> "!testgame 5 " and then a output : "Player @user@ want to play field 5" so the number is self choiceable from 1-9 and will cost no bot currency.

i want the chat output and now step 2 :

i want the bot to open a custom html link with the user name and the random number (5) like:

http://abcd.xxx/command.php?name=@user@&field=5 -> http://abcd.xxx/command.php?name=Whitefox&field=5

the game is complete rdy and can be used with that links, but i need to handle this with the bot .. ty so much

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Need help for a custom command !
« Reply #1 on: July 13, 2017, 04:09:17 AM »
@target@ or @target@[1] is what you are looking for. ;)
Old Name: RepentGamingTV
Twitch: Here

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