ibot

From WebHostingNeeds.com
Revision as of 13:04, 5 June 2011 by Admin (talk | contribs)
Jump to: navigation, search


Get Current Location

getLocation();

Runing

click on Inventory, if not selected

while (!this.theTabs.Inventory.isSelected()) 
{
	this.theTabs.Inventory.click();
	sleep(400L);
}

Get Your User Name

getColorBot().getHandler().getUsername()

Send Message

SendText(response);
sleep(300,500);
SendKey(KeyEvent.VK_ENTER);