/* Do not remove the headers from this file! see /USAGE for more info. */ //_stat.c (wizard command) // Beek@ZorkMUD // This is very OO. Use it correctly or die. :) // Basically you can override stat_me() using inheritance. // // string stat_me() { // string result = ::stat_me(); // if (this_user()->query_userid()=="beek") { // result += "Debug info: i = "+i + "\n"; // } // return result; // } //:COMMAND //USAGE: stat <object> // //Gives you vital information about ANY object. //This information will usually be the most significant variables, //and their values. inherit CMD; private void main(mixed *arg) { string result = arg[0]->stat_me(); if ( !result ) outf("No information available for %O.\n", arg[0]); else out(result); }