Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: tstacked on February 05, 2017, 03:48:30 AM

Title: Server/Game Command Help
Post by: tstacked 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!?
Title: Re: Server/Game Command Help
Post by: TheNumbLock 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

Title: Re: Server/Game Command Help
Post by: tstacked 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?
Title: Re: Server/Game Command Help
Post by: TheNumbLock on February 05, 2017, 10:35:34 AM
No. The @savefile@ command would make the .txt file for you. ;)