Author Topic: Can i add a custom commands with "text" and "commands"?  (Read 1097 times)

0 Members and 1 Guest are viewing this topic.

crybrant

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: cooMaster88
Can i add a custom commands with "text" and "commands"?
« on: October 07, 2016, 08:02:51 AM »
I'd like to build a custom command which includes some message and a exist command: !dj
can it be:

Code: [Select]
This music sounds great: !songor
Code: [Select]
This music sounds great: @exec@[0,!song]in ONE line?

I want the result to be like this:
Quote
This music sounds great: Currently playing : 千本襪 (野原廣志), requested by ptfkc123

thanks
« Last Edit: October 07, 2016, 08:37:59 AM by crybrant »

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Can i add a custom commands with "text" and "commands"?
« Reply #1 on: October 08, 2016, 03:19:32 AM »
I'd like to build a custom command which includes some message and a exist command: !dj
can it be:

Code: [Select]
This music sounds great: !songor
Code: [Select]
This music sounds great: @exec@[0,!song]in ONE line?

I want the result to be like this:
Quote
This music sounds great: Currently playing : 千本襪 (野原廣志), requested by ptfkc123

thanks

You would probably use @readfile@. Example: This music sounds great: @readfile@[C:\DeepBot - Twitch Streamer Assistant\obs\CurrentSongFormatted.txt]
Old Name: RepentGamingTV
Twitch: Here

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

crybrant

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: cooMaster88
Re: Can i add a custom commands with "text" and "commands"?
« Reply #2 on: October 08, 2016, 05:26:01 AM »
thanks for your help.