Deep Bot - Twitch Streamer Assistant
Deep Bot => Help/Support => Topic started 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!?
-
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
-
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?
-
No. The @savefile@ command would make the .txt file for you. ;)