addskill.c

gurba-0.40/lib/kernel/cmds/admin/addskill.c · 209 B

From the archive gurba.tgz

Download the archive   « Back to the archive contents

void main( string str ) {

  if( SKILL_D->is_skill( str ) ) {
    this_player()->write( "Skill already exists." );
    return;
  }
    
  SKILL_D->add_skill( str );
  this_player()->write( "Skill added. " );
}

Site Stats

Snippets: 1791
Codebases: 571