Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inGameCheck: function () {
- if (me.gamename.toLowerCase() !== this.muleGameName[0].toLowerCase()) {
- return false;
- }
- var status = "muling";
- function DropStatusEvent(mode, msg) {
- switch (msg) {
- case "quit":
- status = "quit";
- break;
- default:
- sendCopyData(null, this.muleProfile, 0, status);
- break;
- }
- }
- print("ÿc4AutoMuleÿc0: In mule game.");
- addEventListener("copydata", DropStatusEvent);
- if (!Town.goToTown(1) || !Town.move("stash")) {
- throw new Error("Failed to go to stash in act 1");
- }
- this.dropStuff();
- status = "done";
- while (true) {
- if (status === "quit") {
- break;
- }
- delay(500);
- }
- removeEventListener("copydata", DropStatusEvent);
- return true;
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement