AutomaticCoding
New Member
- Joined
 - Dec 20, 2011
 
- Messages
 - 1,091
 
- Reaction score
 - 1
 
Once per second or something, do this (this is in java):
if((new java.util.Random(new Calendar().getInstance.getTimeInMillis()).nextInt(3600)) == 2000) {
Lua.DoString("RunMacroText(\"/sort"\)");
}
So pretty much roughly once per hour it'll type in chat:
/sort
Reason why I want this: I love the bankstack addon and I hate my inventory looking ugly. Oh, and when mining sometimes the stupid bot thinks it's a good idea to spread my ores over my whole inventory so that I can't herb herbs.
				
			if((new java.util.Random(new Calendar().getInstance.getTimeInMillis()).nextInt(3600)) == 2000) {
Lua.DoString("RunMacroText(\"/sort"\)");
}
So pretty much roughly once per hour it'll type in chat:
/sort
Reason why I want this: I love the bankstack addon and I hate my inventory looking ugly. Oh, and when mining sometimes the stupid bot thinks it's a good idea to spread my ores over my whole inventory so that I can't herb herbs.






