ID:91608
 
d_hub library by Devourer Of Souls
A simple library that returns various information on a game's BYOND hub page.
4 fans · Created Apr 23 2008
This is just a simple library I decided to make for my own use, but it's something that other people may find helpful, so here you guys go. The library contains the following procs:

• dhub_favgame(mob/user) - Check to see if user has the game favorited.
• dhub_games_total() - Checks and finds out how many live games are on the hub.
• dhub_players_total() - Checks how many players are currently playing and listed on the hub. Alternate "list" argument returns a list of every key instead of the number.