STEAM GROUP
mvmlobby.com mvmlobby.com
STEAM GROUP
mvmlobby.com mvmlobby.com
3
IN-GAME
31
ONLINE
Founded
26 February, 2014
Wiethoofd 20 May, 2016 @ 6:15pm
[request] Plain text output with tour count/missions completed for Twitch chat bots
Since mvmlobby.com properly caches tour counts and completed missions (and refreshes info quickly) for Twitch chat an API call/response for NightBot/MooBot would be a nice feature to have for streamers; if you fill in the steamid/custom url and which tour to return info with amount of missions completed.

Sleeping Bear is on Two Cities Tour 189 Mission 3!
Wiethoofd is on Two Cities Tour 657 Mission 1
Above is possible with the DemiPixel bot for SleepingBear's chat, but requires a node.js instance and api keys.

Instead I wrote a quick and dirty script that scrapes your mvmlobby profile page and displays the following (all tours or individual tour with optional profile link)
  • CeeJaey finished 3 Oil Spill (2/6), 4 Steel Trap (0/6), 5 Mecha Engine (2/3), 234 Two Cities (0/4), 65 Gear Grinder (1/3) Tours
  • Foppish finished 51 Two Cities tours & completed 0 out of 4 missions | mvmlobby.com/profile/76561198009155027

Here is how you can add it to Nightbot in your Twitch chat[teamfortress.tv], but I'd rather see this as a default feature on the website!
Last edited by Wiethoofd; 29 Jul, 2016 @ 10:17am