Author Topic: Server/Game Command Help  (Read 1155 times)

0 Members and 1 Guest are viewing this topic.

tstacked

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: TSTACKED
Server/Game Command Help
« on: February 05, 2017, 03:48:30 AM »
Hey guys! I'm looking to make a server command. I want to input the server I'm playing on at the beginning of stream so my viewers can quickly check where im playing by typing !server into chat. I also want to be able to edit the command in case i switch servers in game. I have been able to make the command but it doesnt save for when my viewers type it in. It has to be manually put in.... e.g Streamer/mod: !server #34554 Viewer: !server Streamer is currently playing on server #34554. Anyone!?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Server/Game Command Help
« Reply #1 on: February 05, 2017, 05:51:42 AM »
So you will need two commands.

The viewer command: !server Command Message: Streamer is currently playing on server #@readfile@[server.txt]

The Streamer/Mod command: (You can change the name to whatever, this is just an example) !updateserver @savefile@[server.txt,@target@]

So the viewers just type !server and the Mod/Streamer would type !updateserver 35556

Old Name: RepentGamingTV
Twitch: Here

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

tstacked

  • Youngling
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
  • Twitch Name: TSTACKED
Re: Server/Game Command Help
« Reply #2 on: February 05, 2017, 08:22:41 AM »
So you will need two commands.

The viewer command: !server Command Message: Streamer is currently playing on server #@readfile@[server.txt]

The Streamer/Mod command: (You can change the name to whatever, this is just an example) !updateserver @savefile@[server.txt,@target@]

So the viewers just type !server and the Mod/Streamer would type !updateserver 35556

would i have to make a txt file in my directory?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Server/Game Command Help
« Reply #3 on: February 05, 2017, 10:35:34 AM »
No. The @savefile@ command would make the .txt file for you. ;)
Old Name: RepentGamingTV
Twitch: Here

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