Jump to content

Best way to know if a bot has p2p?


Butters

Recommended Posts

	private boolean isMember;
	
	@Override
	public void onStart() throws InterruptedException {
		
		isMember = askIsMember();
	}

	/**
	 * 
	 * @return <tt>Account is member</tt>
	 */
	private boolean askIsMember() {
		return JOptionPane.showConfirmDialog(bot.getCanvas(), "Are you a member?", "Membership",
				JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION;
	}

You're welcome. :)

  • Like 1
Link to comment
Share on other sites

2 hours ago, liverare said:

	private boolean isMember;
	
	@Override
	public void onStart() throws InterruptedException {
		
		isMember = askIsMember();
	}

	/**
	 * 
	 * @return <tt>Account is member</tt>
	 */
	private boolean askIsMember() {
		return JOptionPane.showConfirmDialog(bot.getCanvas(), "Are you a member?", "Membership",
				JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION;
	}

You're welcome. :)

Lol thanks, dunno if this is a joke or not, but wanted an automated solution :D
 

So as I see there's no "straightforward" way doing this, will try the methods you guys mentioned, thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...