Author Topic: output game last played?  (Read 2797 times)

0 Members and 1 Guest are viewing this topic.

spoonman54321

  • Youngling
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
  • Twitch Name: spoonman54321
output game last played?
« on: October 21, 2015, 06:59:56 AM »
I know many other bots have the ability to find what game a streamer last played for a shoutout command. Does deepbot have that? I've been looking through and can't seem to find anything that does that.

Mitch

  • Master
  • ****
  • Posts: 401
  • Karma: +24/-1
  • Took me 20 minutes to change this...
    • View Profile
  • Twitch Name: Mitch619911
Re: output game last played?
« Reply #1 on: October 21, 2015, 10:14:35 AM »
The game that is playing at the moment?
@game@
:)

spoonman54321

  • Youngling
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
  • Twitch Name: spoonman54321
Re: output game last played?
« Reply #2 on: October 21, 2015, 10:20:26 AM »
Hey thanks for the reply, no I don't think my question was actually clear sorry.

It's for shouting out other streamers that come into the channel. They wouldn't be actively playing a game at that moment, but what I'd want is something like this output:

command - !shoutout @target@
output - "Go follow @target@ because they're awesome at twitch.tv/@target@ The last game they were playing is [some variable that will find that information]"

I know if I use @game@ and their channel isn't live it just won't output anything. I hope that makes more sense.

MercurY3rd

  • Councilor
  • *****
  • Posts: 652
  • Karma: +26/-1
    • View Profile
  • Twitch Name: mercury3rd
Re: output game last played?
« Reply #3 on: October 21, 2015, 09:21:12 PM »
Hi, try this

Go follow @target@ because they're awesome at www.twitch.tv/@target@ The last game they were playing is @customapi@[http://customapi.deepbot.tv/streamgame/@target@]
Hier steht nichts Sinnvolles, dennoch freundliche Grüße. MercurY

spoonman54321

  • Youngling
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
  • Twitch Name: spoonman54321
Re: output game last played?
« Reply #4 on: October 22, 2015, 01:57:41 AM »
THANK YOU! This worked perfectly!

Is there a list of useful customapi variables I can see? I'm always looking for new ways to make the bot more useful.

master_of_chaos

  • Youngling
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Master_of_Chaos
Re: output game last played?
« Reply #5 on: January 19, 2016, 01:57:04 AM »
nice thanks just what i was looking for