Replies: 1 comment
-
Obviously that doesn't work. What you want is to look at ChatBot api (there is not actual docs for it, but you can watch for virtual methods in ChatBot class here) and find any methods called once per while, i.e. Update() method, override it in your class (in YourBot class) and then call method you want to once per 50 Update calls |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi i made a script which use item in left hand every 5 seconds
i dont get any errors it just dont work
//MCCScript 1.0
MCC.LoadBot(new YourBot());
//MCCScript Extensions
class YourBot : ChatBot
{
public void UseItemInLeftHand()
{
UseItemInLeftHand();
Thread.Sleep(5000);
}
}
Beta Was this translation helpful? Give feedback.
All reactions