/*
Copyright (C) 1991, Marcus J. Ranum. All rights reserved.
*/
#ifndef lint
static char RCSid[] = "$Header: /usr/users/mjr/hacks/umud/CMD/RCS/go.c,v 1.1 91/07/04 17:33:25 mjr Rel $";
#endif
/* configure all options BEFORE including system stuff. */
#include "config.h"
#include "mud.h"
#include "match.h"
#include "vars.h"
/*
player movement. semi-tiny-mud-like
*/
/* ARGSUSED */
cmd_go(argc,argv,who,aswho)
int argc;
char *argv[];
char *who;
char *aswho;
{
char ob[MAXOID];
char *here;
char *actor;
actor = run_actor();
here = ut_loc(actor);
if(matchexit(actor,argv[1],here,MTCH_RAND|MTCH_EXACT,ob))
return(1);
return(player_go(argc,argv,actor,here,ob));
}