/* /cmds/creator/mraces.c * A tool for cres which displays a listing of all available player races * Blitz@NM-IVD */ #include <lib.h> #include <daemons.h> mixed cmd(string str) { string *types; types = load_object(RACES_D)->GetRaces(1); if( !sizeof(types) ) { return "No list at this time."; } types = sort_array(types, 1); message("help", format_page(types, 5), this_player() ); return 1; } void help() { message("info", "Syntax: praces\n" "A simple tool for creators which will list available player races.", this_player() ); }