/* _team.c  - written by Zeus (13/01/93)
// command to allow a player to start a team.
*/

inherit "/std/cmd_m";

int help();

int cmd_team() {
	object ob;

	if(this_player()->query("leader")) {
		notify_fail("You are already in a team.\n");
		return 0;
	}
	this_player()->init_team();
	return 1;
}

int help() {
	write("SYNTAX : team\n");
	write("This is the command to start a team with you as the leader.\n"+
	      "Other people can join your team by using the 'join' command.\n");
	return 1;
}