What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[request] Simple script to auto use workers comps

forgasim

New Member
Joined
Oct 16, 2014
Messages
2
Reaction score
0
As per the title, Im just trying to set up a way to make my account drink workers comps each time it comes off cool down and im failing at finding the commands in the API
 
I don't use the cooldown. Something like this has been working for me

while(!UseItem("Worker's Compensation"))
{
Thread.Sleep(msec);
}
 
Something like that? (me.opPoints is your current labor points)

Code:
while (true)
{
    if (me.opPoints < 3500 && itemCooldown("Worker's Compensation") == 0)
        UseItem("Worker's Compensation");
    else
        Thread.Sleep(1000);
}
 
Back
Top