mkwiz.c

gurba-0.40/lib/kernel/cmds/admin/mkwiz.c · 281 B

From the archive gurba.tgz

Download the archive   « Back to the archive contents

void main( string str ) {
  if( str == "" ) {
    write( "Useage: mkwiz <name>\n" );
    return;
  }
  if( SECURE_D->query_admin( this_player()->query_name() ) == 1 ) {
    SECURE_D->make_wizard( str );
  } else {
    write( "You need admin priveleges to make wizards.\n" );
  } 
}

Site Stats

Snippets: 1791
Codebases: 571