public static void click(int mask, int x, int y) {
		Point current = getMousePosition();
		if(current.x != x || current.y != y)
			move(x, y);
		Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(new BotEvent(new MouseEvent(Bot.getSingleton().getBotClient().getApplet(), MouseEvent.MOUSE_PRESSED, System.currentTimeMillis(), mask, x, y, 1, mask == MouseEvent.BUTTON3_MASK ? true : false)));
		Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(new BotEvent(new MouseEvent(Bot.getSingleton().getBotClient().getApplet(), MouseEvent.MOUSE_RELEASED, System.currentTimeMillis(), mask, x, y, 1, mask == MouseEvent.BUTTON3_MASK ? true : false)));
		Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(new BotEvent(new MouseEvent(Bot.getSingleton().getBotClient().getApplet(), MouseEvent.MOUSE_CLICKED, System.currentTimeMillis(), mask, x, y, 1, mask == MouseEvent.BUTTON3_MASK ? true : false)));
	}