d_hub library

by Devourer Of Souls
A simple library that returns various information on a game's BYOND hub page. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://DevourerOfSouls.d_hublibrary##version=3

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:


Version First Release
Date added: Apr 22 2008
Last updated: Apr 23 2008
5 fans
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.