@Override
	public boolean onCommand(CommandSender cs, Command cmnd, String string,
			String[] args) {
		if (!(cs instanceof Player))
			return false;

		if (args.length > 0) {
			//(CreateAnimation[name])(ModifyAnimation[name]->CloseAnimation <(AssignFrame|ModifyFrame[index]|EndModify[index])>)
			
			
			if (argEquals(args[0], "CreateAnimation")) {
				if(args.length==2)
					plugin.manager.createAnimation((Player) cs, args[1]);
				else
					cs.sendMessage(ChatColor.RED+ "   Missing name");
			}
			if (argEquals(args[0], "ModifyAnimation")) {
				if(args.length==2)
					plugin.manager.modifyAnimation((Player) cs, args[1]);
				else
					cs.sendMessage(ChatColor.RED+ "   Missing name");
			}
			if (argEquals(args[0], "ExitAnimation")) {
				plugin.manager.exitAnimation((Player) cs);
			}
			if (argEquals(args[0], "AssignFrame")) {
				plugin.manager.assignFrame((Player) cs);
			}
		}

		return true;
	}