@Override
	public boolean execute(MOB mob, Vector commands, int metaFlags)
		throws java.io.IOException
	{
		final boolean ifnecessary=((commands.size()>1)&&(((String)commands.lastElement()).equalsIgnoreCase("IFNECESSARY")));
		final Room room = CMLib.map().roomLocation(mob);
		if(CMLib.flags().isStanding(mob))
		{
			if(!ifnecessary)
				mob.tell(_("You are already standing!"));
		}
		else
		if((mob.session()!=null)&&(mob.session().isStopped()))
			mob.tell(_("You may not stand up."));
		else
		if(room!=null)
		{
			final CMMsg msg=CMClass.getMsg(mob,null,null,CMMsg.MSG_STAND,mob.amDead()?null:_("<S-NAME> stand(s) up."));
			if(room.okMessage(mob,msg))
				room.send(mob,msg);
		}
		return false;
	}