Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- if(cac);
- log(&6[Macro]&f G-Cacto &4&l[OFF]);
- logto(debug,);
- keyup(forward);
- keyup(sneak);
- keyup(back);
- keyup(jump);
- unset(cac);
- stop;
- else;
- set(cac);
- log(" ");
- log(" ");
- log(" ");
- log(&6&l[Macro]&f G-Cacto &4&l[ON]);
- log(" ");
- log(" ");
- log(" ");
- wait(1);
- prompt(&delay,$$?,Qual o Delay?(De 1 há 6));
- wait(1);
- prompt(#torre,$$?,Quantas torres deseja?(Maximo 100));
- if(%#torre%>100);
- log(&6&l[Macro]&4&l &f[&6!&f]&4&lERRO&f[&6!&f]);
- log(&6&l[Macro]&f Numero de torre é maior que 100 !!!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- unset(cac);
- stop;
- endif;
- if(%#torre%<=0);
- log(&6&l[Macro]&4&l &f[&6!&f]&4&lERRO&f[&6!&f]);
- log(&6&l[Macro]&f Numero de torre é igual a 0 !!!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- unset(cac);
- stop;
- endif;
- if(%#torre%>1);
- prompt(#nt,$$?,Deseja começar por qual torre?);
- else;
- #nt=1;
- endif;
- if(%#nt%=0);
- log(&6&l[Macro]&4&l &f[&6!&f]&4&lERRO&f[&6!&f]);
- log(&6&l[Macro]&f Numero de torre é igual a 0 !!!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- unset(cac);
- stop;
- endif;
- prompt(#andar,$$?,Quantos andares deseja?);
- if(%#nt%>%#torre%);
- log(&6&l[Macro]&4&l &f[&6!&f]&4&lERRO&f[&6!&f]);
- log(&6[Macro]&f Numero de torre é maior que o desejado!!!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- unset(cac);
- stop;
- endif;
- ifmatches(%#torre%,a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z);
- log(&6&l[Macro]&4&l &f[&6!&f]&4&lERRO&f[&6!&f]);
- log(&6[Macro]&f Numero de torre é uma letra !!!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- unset(cac);
- stop;
- endif;
- log(&6&l[Macro]&f G-Cacto &4&l[ON]);
- log(&6&l[Macro]&f Delay= %#delay%!);
- log(&6&l[Macro]&f Quantidade de Torres: %#torre%!);
- log(&6&l[Macro]&f Altura: %#andar%!);
- wait(2);
- ifmatches(%&delay%,^1);#delay=1;endif;
- ifmatches(%&delay%,^2);#delay=2;endif;
- ifmatches(%&delay%,^3);#delay=3;endif;
- ifmatches(%&delay%,^4);#delay=4;endif;
- ifmatches(%&delay%,^5);#delay=5;endif;
- ifmatches(%&delay%,^6);#delay=6;endif;
- #tor=1;
- #alt=1;
- #pa=1;
- #baut=1;
- #bauc=1;
- #baua=1;
- #bivt=0;
- #biva=0;
- #bivc=0;
- #itivt=9;
- #itivc=18;
- #itiva=27;
- do;
- log(&6&l[Macro]&f Torre: %#tor%);
- if(%#nt%=1);}$$/home t1$${endif;
- if(%#nt%=2);}$$/home t2$${endif;
- if(%#nt%=3);}$$/home t3$${endif;
- if(%#nt%=4);}$$/home t4$${endif;
- if(%#nt%=5);}$$/home t5$${endif;
- if(%#nt%=6);}$$/home t6$${endif;
- if(%#nt%=7);}$$/home t7$${endif;
- if(%#nt%=8);}$$/home t8$${endif;
- if(%#nt%=9);}$$/home t9$${endif;
- if(%#nt%=10);}$$/home t10$${endif;
- if(%#nt%=11);}$$/home t11$${endif;
- if(%#nt%=12);}$$/home t12$${endif;
- if(%#nt%=13);}$$/home t13$${endif;
- if(%#nt%=14);}$$/home t14$${endif;
- if(%#nt%=15);}$$/home t15$${endif;
- if(%#nt%=16);}$$/home t16$${endif;
- if(%#nt%=17);}$$/home t17$${endif;
- if(%#nt%=18);}$$/home t18$${endif;
- if(%#nt%=19);}$$/home t19$${endif;
- if(%#nt%=20);}$$/home t20$${endif;
- if(%#nt%=21);}$$/home t21$${endif;
- if(%#nt%=22);}$$/home t22$${endif;
- if(%#nt%=23);}$$/home t23$${endif;
- if(%#nt%=24);}$$/home t24$${endif;
- if(%#nt%=25);}$$/home t25$${endif;
- if(%#nt%=26);}$$/home t26$${endif;
- if(%#nt%=27);}$$/home t27$${endif;
- if(%#nt%=28);}$$/home t28$${endif;
- if(%#nt%=29);}$$/home t29$${endif;
- if(%#nt%=30);}$$/home t30$${endif;
- if(%#nt%=31);}$$/home t31$${endif;
- if(%#nt%=32);}$$/home t32$${endif;
- if(%#nt%=33);}$$/home t33$${endif;
- if(%#nt%=34);}$$/home t34$${endif;
- if(%#nt%=35);}$$/home t35$${endif;
- if(%#nt%=36);}$$/home t36$${endif;
- if(%#nt%=37);}$$/home t37$${endif;
- if(%#nt%=38);}$$/home t38$${endif;
- if(%#nt%=39);}$$/home t39$${endif;
- if(%#nt%=40);}$$/home t40$${endif;
- if(%#nt%=41);}$$/home t41$${endif;
- if(%#nt%=42);}$$/home t42$${endif;
- if(%#nt%=43);}$$/home t43$${endif;
- if(%#nt%=44);}$$/home t44$${endif;
- if(%#nt%=45);}$$/home t45$${endif;
- if(%#nt%=46);}$$/home t46$${endif;
- if(%#nt%=47);}$$/home t47$${endif;
- if(%#nt%=48);}$$/home t48$${endif;
- if(%#nt%=49);}$$/home t49$${endif;
- if(%#nt%=50);}$$/home t50$${endif;
- if(%#nt%=51);}$$/home t51$${endif;
- if(%#nt%=52);}$$/home t52$${endif;
- if(%#nt%=53);}$$/home t53$${endif;
- if(%#nt%=54);}$$/home t54$${endif;
- if(%#nt%=55);}$$/home t55$${endif;
- if(%#nt%=56);}$$/home t56$${endif;
- if(%#nt%=57);}$$/home t57$${endif;
- if(%#nt%=58);}$$/home t58$${endif;
- if(%#nt%=59);}$$/home t59$${endif;
- if(%#nt%=60);}$$/home t60$${endif;
- if(%#nt%=61);}$$/home t61$${endif;
- if(%#nt%=62);}$$/home t62$${endif;
- if(%#nt%=63);}$$/home t63$${endif;
- if(%#nt%=64);}$$/home t64$${endif;
- if(%#nt%=65);}$$/home t65$${endif;
- if(%#nt%=66);}$$/home t66$${endif;
- if(%#nt%=67);}$$/home t67$${endif;
- if(%#nt%=68);}$$/home t68$${endif;
- if(%#nt%=69);}$$/home t69$${endif;
- if(%#nt%=70);}$$/home t70$${endif;
- if(%#nt%=71);}$$/home t71$${endif;
- if(%#nt%=72);}$$/home t72$${endif;
- if(%#nt%=73);}$$/home t73$${endif;
- if(%#nt%=74);}$$/home t74$${endif;
- if(%#nt%=75);}$$/home t75$${endif;
- if(%#nt%=76);}$$/home t76$${endif;
- if(%#nt%=77);}$$/home t77$${endif;
- if(%#nt%=78);}$$/home t78$${endif;
- if(%#nt%=79);}$$/home t79$${endif;
- if(%#nt%=80);}$$/home t80$${endif;
- if(%#nt%=81);}$$/home t81$${endif;
- if(%#nt%=82);}$$/home t82$${endif;
- if(%#nt%=83);}$$/home t83$${endif;
- if(%#nt%=84);}$$/home t84$${endif;
- if(%#nt%=85);}$$/home t85$${endif;
- if(%#nt%=86);}$$/home t86$${endif;
- if(%#nt%=87);}$$/home t87$${endif;
- if(%#nt%=88);}$$/home t88$${endif;
- if(%#nt%=89);}$$/home t89$${endif;
- if(%#nt%=90);}$$/home t90$${endif;
- if(%#nt%=91);}$$/home t91$${endif;
- if(%#nt%=92);}$$/home t92$${endif;
- if(%#nt%=93);}$$/home t93$${endif;
- if(%#nt%=94);}$$/home t94$${endif;
- if(%#nt%=95);}$$/home t95$${endif;
- if(%#nt%=96);}$$/home t96$${endif;
- if(%#nt%=97);}$$/home t97$${endif;
- if(%#nt%=98);}$$/home t98$${endif;
- if(%#nt%=99);}$$/home t99$${endif;
- if(%#nt%=100);}$$/home t100$${endif;
- wait(%#delay%);
- do(%#andar%);
- log(&6&l[Macro]&f Andar: %#alt%);
- logto(debug,&6&l[Macro] &fTorre: &6%#nt%/%#torre% &fAndar: &6%#alt%/%#andar%);
- #x=%XPOS%;
- #y=%YPOS%;
- #z=%ZPOS%;
- look(NORTH);
- look(,+89);
- wait(1);
- do;
- pick(4);
- keydown(jump);
- wait(3t);
- do(3);
- key(use);
- loop;
- keyup(jump);
- wait(700ms);
- if(%YPOS%>%#y%+1);
- do;
- key(attack);
- until(%YPOS%=%#y%+1);
- wait(100ms);
- endif;
- if(%YPOS%=%#y%+1);
- break;
- endif;
- loop;
- wait(200ms);
- keydown(sneak);
- pick(4);
- pick(4);
- look(NORTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%+1);
- look(,+82);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;wait(100ms);
- pick(4);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%-1);
- keyup(forward);
- look(EAST);
- do;
- keydown(back);
- until(%XPOS%=%#x%-1);
- look(,+82);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(100ms);
- pick(4);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;keydown(forward);
- until(%XPOS%=%#x%+1);
- keyup(forward);
- look(SOUTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%-1);
- look(,+82);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(100ms);
- pick(4);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%+1);
- keyup(forward);
- look(WEST);
- do;
- keydown(back);
- until(%XPOS%=%#x%+1);
- look(,+82);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(100ms);
- pick(12);
- #x=%XPOS%;
- #z=%ZPOS%;
- #y=%YPOS%;
- do;
- keydown(forward);
- until(%XPOS%=%#x%-1);
- keyup(forward)
- wait(200ms);
- do;
- pick(12);
- keydown(jump);
- wait(3t);
- do(3);
- key(use);
- loop;
- keyup(jump);
- wait(500ms);
- if(%YPOS%>%#y%+1);
- do;
- key(attack);
- until(%YPOS%=%#y%+1);
- wait(100ms);
- endif;if(%YPOS%=%#y%+1);
- break;
- endif;
- loop;
- wait(500ms);
- keydown(sneak);
- pick(12);
- look(NORTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%+1);
- look(,+82);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(200ms);
- pick(12);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%-1);
- keyup(forward);
- look(EAST);
- do;
- keydown(back);
- until(%XPOS%=%#x%-1);
- look(,+82);
- wait(200ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(200ms);
- pick(12);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%XPOS%=%#x%+1);
- keyup(forward);
- look(SOUTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%-1);
- look(,+82);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(200ms);
- pick(12);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%+1);
- keyup(forward);
- look(WEST);
- do;
- keydown(back);
- until(%XPOS%=%#x%+1);l
- look(,+82);
- wait(200ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(200ms);
- pick(4);
- #x=%XPOS%;
- #z=%ZPOS%;
- #y=%YPOS%;
- do;
- keydown(forward);
- until(%XPOS%=%#x%-1);
- keyup(forward);
- do;
- pick(4);
- keydown(jump);
- wait(3t);
- do(3);
- key(use);
- loop;
- keyup(jump);
- wait(700ms);
- if(%YPOS%>%#y%+1);
- do;
- key(attack);
- until(%YPOS%=%#y%+1);
- wait(100ms);
- endif;
- if(%YPOS%=%#y%+1);
- break;
- endif;
- loop;
- #y=%YPOS%;
- wait(200ms);
- do;
- pick(4);
- keydown(jump);
- wait(3t);
- do(3);
- key(use);
- loop;
- keyup(jump);
- wait(700ms);
- if(%YPOS%>%#y%+1);
- do;
- key(attack);
- until(%YPOS%=%#y%+1);
- wait(100ms);
- endif;
- if(%YPOS%=%#y%+1);
- break;
- endif;
- loop;
- keydown(sneak);
- wait(300ms);
- #x=%XPOS%;
- #z=%ZPOS%;
- look(NORTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%+1);
- look(,+85);
- wait(500ms);
- getslotitem(%#pa%,#spa,#stack);
- ifmatches(%#spa%,0);
- #pa=1;
- endif;
- keyup(back);
- slot(1);
- do;
- key(attack);
- key(attack);
- key(attack);
- until(%HITID%=12);
- wait(500ms);
- pick(81);
- look(NORTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%+1);
- look(,+89);
- wait(500ms);
- keyup(back);
- wait(2t);
- key(use);
- wait(100ms);
- pick(81);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%-1);
- keyup(forward);
- look(EAST);
- do;
- keydown(back);
- until(%XPOS%=%#x%-1);
- look(,+89);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(100ms);
- pick(81);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%XPOS%=%#x%+1);
- keyup(forward);
- look(SOUTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%-1);
- look(,+89);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(100ms);
- pick(81);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%+1);
- keyup(forward);
- look(WEST);
- do;
- keydown(back);
- until(%XPOS%=%#x%+1);
- look(,+89);
- wait(500ms);
- keyup(back);
- do(3);
- key(use);
- loop;
- wait(100ms);
- do;
- keydown(forward);
- until(%XPOS%=%#x%);
- keyup(forward);
- wait(200ms);
- pick(4);
- #x=%XPOS%;
- #z=%ZPOS%;
- look(NORTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%+1);
- look(,+85);
- wait(500ms);
- keyup(back);
- if(%HITID%=3);
- set(bug);
- getslotitem(%#pa%,#spa,);
- ifmatches(%#spa%,0);
- #pa=1;
- endif;
- slot(1);
- do;
- key(attack);
- until(%HITID%=12);
- pick(81);
- look(NORTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%+1);
- look(,+89);
- wait(500ms);
- keyup(back);
- wait(2t);
- key(use);
- wait(100ms);
- pick(81);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%-1);
- keyup(forward);
- look(EAST);
- do;
- keydown(back);
- until(%XPOS%=%#x%-1);
- look(,+89);
- wait(500ms);
- keyup(back);
- wait(2t);
- key(use);
- wait(100ms);
- pick(81);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%XPOS%=%#x%+1);
- keyup(forward);
- look(SOUTH);
- do;
- keydown(back);
- until(%ZPOS%=%#z%-1);
- look(,+89);
- wait(500ms);
- keyup(back);
- wait(2t);
- key(use);
- wait(100ms);
- pick(81);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%+1);
- keyup(forward);
- look(WEST);
- do;
- keydown(back);
- until(%XPOS%=%#x%+1);
- look(,+89);
- wait(500ms);
- keyup(back);
- wait(2t);
- key(use);
- wait(100ms);
- endif;
- if(bug);
- unset(bug);
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%XPOS%=%#x%-1);
- keyup(forward);
- inc(#alt,1);
- wait(100ms);
- else;
- #x=%XPOS%;
- #z=%ZPOS%;
- do;
- keydown(forward);
- until(%ZPOS%=%#z%-1);
- keyup(forward);
- inc(#alt,1);
- wait(100ms);
- endif;
- gui(inventory);
- wait(1);
- getslotitem(17,#id,#qtt);
- getslotitem(26,#id,#qtc);
- getslotitem(35,#id,#qta);
- wait(1);
- if((%#qtt%=0)|(%#qtc%=0)|(%#qta%=0));
- gui();
- if(%#qtt%=0);log(&6&l[Macro]&f Sem terra no inventario);endif;
- if(%#qtc%=0);log(&6&l[Macro]&f Sem cacto no inventario);endif;
- if(%#qta%=0);log(&6&l[Macro]&f Sem areia no inventario);endif;
- if(%#nt%=1);}$$/sethome t1$${endif;
- if(%#nt%=2);}$$/sethome t2$${endif;
- if(%#nt%=3);}$$/sethome t3$${endif;
- if(%#nt%=4);}$$/sethome t4$${endif;
- if(%#nt%=5);}$$/sethome t5$${endif;
- if(%#nt%=6);}$$/sethome t6$${endif;
- if(%#nt%=7);}$$/sethome t7$${endif;
- if(%#nt%=8);}$$/sethome t8$${endif;
- if(%#nt%=9);}$$/sethome t9$${endif;
- if(%#nt%=10);}$$/sethome t10$${endif;
- if(%#nt%=11);}$$/sethome t11$${endif;
- if(%#nt%=12);}$$/sethome t12$${endif;
- if(%#nt%=13);}$$/sethome t13$${endif;
- if(%#nt%=14);}$$/sethome t14$${endif;
- if(%#nt%=15);}$$/sethome t15$${endif;
- if(%#nt%=16);}$$/sethome t16$${endif;
- if(%#nt%=17);}$$/sethome t17$${endif;
- if(%#nt%=18);}$$/sethome t18$${endif;
- if(%#nt%=19);}$$/sethome t19$${endif;
- if(%#nt%=20);}$$/sethome t20$${endif;
- if(%#nt%=21);}$$/sethome t21$${endif;
- if(%#nt%=22);}$$/sethome t22$${endif;
- if(%#nt%=23);}$$/sethome t23$${endif;
- if(%#nt%=24);}$$/sethome t24$${endif;
- if(%#nt%=25);}$$/sethome t25$${endif;
- if(%#nt%=26);}$$/sethome t26$${endif;
- if(%#nt%=27);}$$/sethome t27$${endif;
- if(%#nt%=28);}$$/sethome t28$${endif;
- if(%#nt%=29);}$$/sethome t29$${endif;
- if(%#nt%=30);}$$/sethome t30$${endif;
- if(%#nt%=31);}$$/sethome t31$${endif;
- if(%#nt%=32);}$$/sethome t32$${endif;
- if(%#nt%=33);}$$/sethome t33$${endif;
- if(%#nt%=34);}$$/sethome t34$${endif;
- if(%#nt%=35);}$$/sethome t35$${endif;
- if(%#nt%=36);}$$/sethome t36$${endif;
- if(%#nt%=37);}$$/sethome t37$${endif;
- if(%#nt%=38);}$$/sethome t38$${endif;
- if(%#nt%=39);}$$/sethome t39$${endif;
- if(%#nt%=40);}$$/sethome t40$${endif;
- if(%#nt%=41);}$$/sethome t41$${endif;
- if(%#nt%=42);}$$/sethome t42$${endif;
- if(%#nt%=43);}$$/sethome t43$${endif;
- if(%#nt%=44);}$$/sethome t44$${endif;
- if(%#nt%=45);}$$/sethome t45$${endif;
- if(%#nt%=46);}$$/sethome t46$${endif;
- if(%#nt%=47);}$$/sethome t47$${endif;
- if(%#nt%=48);}$$/sethome t48$${endif;
- if(%#nt%=49);}$$/sethome t49$${endif;
- if(%#nt%=50);}$$/sethome t50$${endif;
- if(%#nt%=51);}$$/sethome t51$${endif;
- if(%#nt%=52);}$$/sethome t52$${endif;
- if(%#nt%=53);}$$/sethome t53$${endif;
- if(%#nt%=54);}$$/sethome t54$${endif;
- if(%#nt%=55);}$$/sethome t55$${endif;
- if(%#nt%=56);}$$/sethome t56$${endif;
- if(%#nt%=57);}$$/sethome t57$${endif;
- if(%#nt%=58);}$$/sethome t58$${endif;
- if(%#nt%=59);}$$/sethome t59$${endif;
- if(%#nt%=60);}$$/sethome t60$${endif;
- if(%#nt%=61);}$$/sethome t61$${endif;
- if(%#nt%=62);}$$/sethome t62$${endif;
- if(%#nt%=63);}$$/sethome t63$${endif;
- if(%#nt%=64);}$$/sethome t64$${endif;
- if(%#nt%=65);}$$/sethome t65$${endif;
- if(%#nt%=66);}$$/sethome t66$${endif;
- if(%#nt%=67);}$$/sethome t67$${endif;
- if(%#nt%=68);}$$/sethome t68$${endif;
- if(%#nt%=69);}$$/sethome t69$${endif;
- if(%#nt%=70);}$$/sethome t70$${endif;
- if(%#nt%=71);}$$/sethome t71$${endif;
- if(%#nt%=72);}$$/sethome t72$${endif;
- if(%#nt%=73);}$$/sethome t73$${endif;
- if(%#nt%=74);}$$/sethome t74$${endif;
- if(%#nt%=75);}$$/sethome t75$${endif;
- if(%#nt%=76);}$$/sethome t76$${endif;
- if(%#nt%=77);}$$/sethome t77$${endif;
- if(%#nt%=78);}$$/sethome t78$${endif;
- if(%#nt%=79);}$$/sethome t79$${endif;
- if(%#nt%=80);}$$/sethome t80$${endif;
- if(%#nt%=81);}$$/sethome t81$${endif;
- if(%#nt%=82);}$$/sethome t82$${endif;
- if(%#nt%=83);}$$/sethome t83$${endif;
- if(%#nt%=84);}$$/sethome t84$${endif;
- if(%#nt%=85);}$$/sethome t85$${endif;
- if(%#nt%=86);}$$/sethome t86$${endif;
- if(%#nt%=87);}$$/sethome t87$${endif;
- if(%#nt%=88);}$$/sethome t88$${endif;
- if(%#nt%=89);}$$/sethome t89$${endif;
- if(%#nt%=90);}$$/sethome t90$${endif;
- if(%#nt%=91);}$$/sethome t91$${endif;
- if(%#nt%=92);}$$/sethome t92$${endif;
- if(%#nt%=93);}$$/sethome t93$${endif;
- if(%#nt%=94);}$$/sethome t94$${endif;
- if(%#nt%=95);}$$/sethome t95$${endif;
- if(%#nt%=96);}$$/sethome t96$${endif;
- if(%#nt%=97);}$$/sethome t97$${endif;
- if(%#nt%=98);}$$/sethome t98$${endif;
- if(%#nt%=99);}$$/sethome t99$${endif;
- if(%#nt%=100);}$$/sethome t100$${endif;
- wait(100ms);
- }$$
- /home item
- $${
- wait(%#delay%);
- do(2);
- keydown(jump);
- wait(3t);
- keyup(jump);
- wait(100ms);
- loop;
- ifmatches(%DIRECTION%,N);&dir1=NORTH;&dir2=EAST;&dir3=WEST;endif;
- ifmatches(%DIRECTION%,S);&dir1=SOUTH;&dir2=WEST;&dir3=EAST;endif;
- ifmatches(%DIRECTION%,E);&dir1=EAST;&dir2=SOUTH;&dir3=NORTH;endif;
- ifmatches(%DIRECTION%,W);&dir1=WEST;&dir2=NORTH;&dir3=SOUTH;endif;
- if(%#qtt%=0);
- log(&6&l[Macro]&f Repondo as terras!);
- do;
- look(%&dir1%);
- if(%#baut%=1);look(-35,-35);endif;
- if(%#baut%=2);look(-13,-40);endif;
- if(%#baut%=3);look(+13,-40);endif;
- if(%#baut%=4);look(+35,-35);endif;
- if(%#baut%=5);look(-35,-20);endif;
- if(%#baut%=6);look(-13,-25);endif;
- if(%#baut%=7);look(+13,-25);endif;
- if(%#baut%=8);look(+35,-20);endif;
- if(%#baut%=9);look(-35,+5);endif;
- if(%#baut%=10);look(-13,+10);endif;
- if(%#baut%=11);look(+13,+10);endif;
- if(%#baut%=12);look(+35,+5);endif;
- if(%#baut%=13);look(-35,+20);endif;
- if(%#baut%=14);look(-13,+25);endif;
- if(%#baut%=15);look(+13,+25);endif;
- if(%#baut%=16);look(+35,+20);endif;
- wait(500ms);
- do;
- key(use);
- wait(2);
- ifmatches(%GUI%,CHEST);
- break;
- endif;
- loop;
- wait(500ms);
- #slt=62;
- do;
- getslotitem(%#bivt%,#id,#qbiv);
- if(%#qbiv%=0);
- inc(#bivt,1);
- endif;
- slotclick(%#bivt%,l,false);
- wait(150ms);
- slotclick(%#slt%,l,false);
- wait(150ms);
- slotclick(%#bivt%,l,false);
- wait(150ms);
- getslotitem(%#slt%,#id,#qslt);
- if(%#qslt%!=0);
- dec(#slt,1);
- endif;
- wait(200ms);
- if(%#bivt%=54);
- inc(#baut,1);
- #bivt=0;
- #ult=0;
- gui();
- wait(1);
- break;
- endif;
- getslotitem(54,#id,#ult);
- until(%#ult%!=0);
- if(%#baut%=17);
- log(&6&l[Macro]&f Acabo os baus de reposição !!!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- unset(cac);
- stop;
- endif;
- until(%#ult%!=0);
- endif;
- gui();
- wait(1);
- if(%#qtc%=0);
- log(&6&l[Macro]&f Repondo os Cactos!);
- do;
- look(%&dir2%);
- if(%#bauc%=1);look(-35,-35);endif;
- if(%#bauc%=2);look(-13,-40);endif;
- if(%#bauc%=3);look(+13,-40);endif;
- if(%#bauc%=4);look(+35,-35);endif;
- if(%#bauc%=5);look(-35,-20);endif;
- if(%#bauc%=6);look(-13,-25);endif;
- if(%#bauc%=7);look(+13,-25);endif;
- if(%#bauc%=8);look(+35,-20);endif;
- if(%#bauc%=9);look(-35,+5);endif;
- if(%#bauc%=10);look(-13,+10);endif;
- if(%#bauc%=11);look(+13,+10);endif;
- if(%#bauc%=12);look(+35,+5);endif;
- if(%#bauc%=13);look(-35,+20);endif;
- if(%#bauc%=14);look(-13,+25);endif;
- if(%#bauc%=15);look(+13,+25);endif;
- if(%#bauc%=16);look(+35,+20);endif;
- wait(500ms);
- do;
- key(use);
- wait(2);
- ifmatches(%GUI%,CHEST);
- break;
- endif;
- loop;
- wait(500ms);
- #slt=71;
- do;
- getslotitem(%#bivc%,#id,#qbiv);
- if(%#qbiv%=0);
- inc(#bivc,1);
- endif;
- slotclick(%#bivc%,l,false);
- wait(150ms);
- slotclick(%#slt%,l,false);
- wait(150ms);
- slotclick(%#bivc%,l,false);
- wait(150ms);
- getslotitem(%#slt%,#id,#qslt);
- if(%#qslt%!=0);
- dec(#slt,1);
- endif;
- wait(200ms);
- if(%#bivc%=54);
- inc(#bauc,1);
- gui();
- #bivc=0;
- #ult=0;
- wait(1);
- break;
- endif;
- getslotitem(63,#id,#ult);
- until(%#ult%!=0);
- if(%#bauc%=17);
- log(&6&l[Macro]&f Acabo os baus de reposição !!!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- unset(cac);
- stop;
- endif;
- until(%#ult%!=0);
- endif;
- gui();
- wait(1);
- if(%#qta%=0);
- log(&6&l[Macro]&f Repondo as Areias!);
- do;
- look(%&dir3%);
- if(%#baua%=1);look(-35,-35);endif;
- if(%#baua%=2);look(-13,-40);endif;
- if(%#baua%=3);look(+13,-40);endif;
- if(%#baua%=4);look(+35,-35);endif;
- if(%#baua%=5);look(-35,-20);endif;
- if(%#baua%=6);look(-13,-25);endif;
- if(%#baua%=7);look(+13,-25);endif;
- if(%#baua%=8);look(+35,-20);endif;
- if(%#baua%=9);look(-35,+5);endif;
- if(%#baua%=10);look(-13,+10);endif;
- if(%#baua%=11);look(+13,+10);endif;
- if(%#baua%=12);look(+35,+5);endif;
- if(%#baua%=13);look(-35,+20);endif;
- if(%#baua%=14);look(-13,+25);endif;
- if(%#baua%=15);look(+13,+25);endif;
- if(%#baua%=16);look(+35,+20);endif;
- wait(500ms);
- do;
- key(use);
- wait(2);
- ifmatches(%GUI%,CHEST);
- break;
- endif;
- loop;
- wait(500ms);
- #slt=80;
- do;
- getslotitem(%#biva%,#id,#qbiv);
- if(%#qbiv%=0);
- inc(#biva,1);
- endif;
- slotclick(%#biva%,l,false);
- wait(150ms);
- slotclick(%#slt%,l,false);
- wait(150ms);
- slotclick(%#biva%,l,false);
- wait(150ms);
- getslotitem(%#slt%,#id,#qslt);
- if(%#qslt%!=0);
- dec(#slt,1);
- endif;
- wait(200ms);
- if(%#biva%=54);
- inc(#baua,1);
- gui();
- #biva=0;
- #ult=0;
- wait(1);
- break;
- endif;
- getslotitem(72,#id,#ult);
- until(%#ult%!=0);
- if(%#baua%=17);
- log(&6[Macro]&b Acabo os baus de reposição !!!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- unset(cac);
- stop;
- endif;
- until(%#ult%!=0);
- endif;
- gui();
- if(%#nt%=1);}$$/home t1$${endif;
- if(%#nt%=2);}$$/home t2$${endif;
- if(%#nt%=3);}$$/home t3$${endif;
- if(%#nt%=4);}$$/home t4$${endif;
- if(%#nt%=5);}$$/home t5$${endif;
- if(%#nt%=6);}$$/home t6$${endif;
- if(%#nt%=7);}$$/home t7$${endif;
- if(%#nt%=8);}$$/home t8$${endif;
- if(%#nt%=9);}$$/home t9$${endif;
- if(%#nt%=10);}$$/home t10$${endif;
- if(%#nt%=11);}$$/home t11$${endif;
- if(%#nt%=12);}$$/home t12$${endif;
- if(%#nt%=13);}$$/home t13$${endif;
- if(%#nt%=14);}$$/home t14$${endif;
- if(%#nt%=15);}$$/home t15$${endif;
- if(%#nt%=16);}$$/home t16$${endif;
- if(%#nt%=17);}$$/home t17$${endif;
- if(%#nt%=18);}$$/home t18$${endif;
- if(%#nt%=19);}$$/home t19$${endif;
- if(%#nt%=20);}$$/home t20$${endif;
- if(%#nt%=21);}$$/home t21$${endif;
- if(%#nt%=22);}$$/home t22$${endif;
- if(%#nt%=23);}$$/home t23$${endif;
- if(%#nt%=24);}$$/home t24$${endif;
- if(%#nt%=25);}$$/home t25$${endif;
- if(%#nt%=26);}$$/home t26$${endif;
- if(%#nt%=27);}$$/home t27$${endif;
- if(%#nt%=28);}$$/home t28$${endif;
- if(%#nt%=29);}$$/home t29$${endif;
- if(%#nt%=30);}$$/home t30$${endif;
- if(%#nt%=31);}$$/home t31$${endif;
- if(%#nt%=32);}$$/home t32$${endif;
- if(%#nt%=33);}$$/home t33$${endif;
- if(%#nt%=34);}$$/home t34$${endif;
- if(%#nt%=35);}$$/home t35$${endif;
- if(%#nt%=36);}$$/home t36$${endif;
- if(%#nt%=37);}$$/home t37$${endif;
- if(%#nt%=38);}$$/home t38$${endif;
- if(%#nt%=39);}$$/home t39$${endif;
- if(%#nt%=40);}$$/home t40$${endif;
- if(%#nt%=41);}$$/home t41$${endif;
- if(%#nt%=42);}$$/home t42$${endif;
- if(%#nt%=43);}$$/home t43$${endif;
- if(%#nt%=44);}$$/home t44$${endif;
- if(%#nt%=45);}$$/home t45$${endif;
- if(%#nt%=46);}$$/home t46$${endif;
- if(%#nt%=47);}$$/home t47$${endif;
- if(%#nt%=48);}$$/home t48$${endif;
- if(%#nt%=49);}$$/home t49$${endif;
- if(%#nt%=50);}$$/home t50$${endif;
- if(%#nt%=51);}$$/home t51$${endif;
- if(%#nt%=52);}$$/home t52$${endif;
- if(%#nt%=53);}$$/home t53$${endif;
- if(%#nt%=54);}$$/home t54$${endif;
- if(%#nt%=55);}$$/home t55$${endif;
- if(%#nt%=56);}$$/home t56$${endif;
- if(%#nt%=57);}$$/home t57$${endif;
- if(%#nt%=58);}$$/home t58$${endif;
- if(%#nt%=59);}$$/home t59$${endif;
- if(%#nt%=60);}$$/home t60$${endif;
- if(%#nt%=61);}$$/home t61$${endif;
- if(%#nt%=62);}$$/home t62$${endif;
- if(%#nt%=63);}$$/home t63$${endif;
- if(%#nt%=64);}$$/home t64$${endif;
- if(%#nt%=65);}$$/home t65$${endif;
- if(%#nt%=66);}$$/home t66$${endif;
- if(%#nt%=67);}$$/home t67$${endif;
- if(%#nt%=68);}$$/home t68$${endif;
- if(%#nt%=69);}$$/home t69$${endif;
- if(%#nt%=70);}$$/home t70$${endif;
- if(%#nt%=71);}$$/home t71$${endif;
- if(%#nt%=72);}$$/home t72$${endif;
- if(%#nt%=73);}$$/home t73$${endif;
- if(%#nt%=74);}$$/home t74$${endif;
- if(%#nt%=75);}$$/home t75$${endif;
- if(%#nt%=76);}$$/home t76$${endif;
- if(%#nt%=77);}$$/home t77$${endif;
- if(%#nt%=78);}$$/home t78$${endif;
- if(%#nt%=79);}$$/home t79$${endif;
- if(%#nt%=80);}$$/home t80$${endif;
- if(%#nt%=81);}$$/home t81$${endif;
- if(%#nt%=82);}$$/home t82$${endif;
- if(%#nt%=83);}$$/home t83$${endif;
- if(%#nt%=84);}$$/home t84$${endif;
- if(%#nt%=85);}$$/home t85$${endif;
- if(%#nt%=86);}$$/home t86$${endif;
- if(%#nt%=87);}$$/home t87$${endif;
- if(%#nt%=88);}$$/home t88$${endif;
- if(%#nt%=89);}$$/home t89$${endif;
- if(%#nt%=90);}$$/home t90$${endif;
- if(%#nt%=91);}$$/home t91$${endif;
- if(%#nt%=92);}$$/home t92$${endif;
- if(%#nt%=93);}$$/home t93$${endif;
- if(%#nt%=94);}$$/home t94$${endif;
- if(%#nt%=95);}$$/home t95$${endif;
- if(%#nt%=96);}$$/home t96$${endif;
- if(%#nt%=97);}$$/home t97$${endif;
- if(%#nt%=98);}$$/home t98$${endif;
- if(%#nt%=99);}$$/home t99$${endif;
- if(%#nt%=100);}$$/home t100$${endif;
- wait(%#delay%);
- else;
- gui();
- endif;
- log(&6&l[Macro]&f Verificando itens...);
- log(&6&l[Macro]&f Terra OK!);
- getslotitem(7,#id,#qte);
- if(%#qte%<20);
- gui(inventory);
- wait(1);
- do;
- do;
- getslotitem(%#itivt%,#id,#qitivt);
- if(%#qitivt%=0);
- inc(#itivt,1);
- if(%#itivt%=18);
- #itivt=9;
- endif;
- endif;
- while(%#qitivt%=0);
- slotclick(%#itivt%,l,false);
- wait(150ms);
- slotclick(42,l,false);
- wait(150ms);
- slotclick(%#itivt%,l,false);
- wait(1);
- getslotitem(42,#id,#qte);
- until(%#qte%>20);
- gui();log(&6&l[Macro]&f Terra recolocada !!!);
- else;
- gui();
- endif;
- log(&6&l[Macro]&f Areia OK!);
- wait(1);
- getslotitem(8,#id,#qar);
- if(%#qar%<20);
- gui(inventory);
- wait(1);
- do;
- do;
- getslotitem(%#itiva%,#id,#qitiva);
- if(%#qitiva%=0);
- inc(#itiva,1);
- if(%#itiva%=36);
- #itiva=27;
- endif;
- endif;
- while(%#qitiva%=0);
- slotclick(%#itiva%,l,false);
- wait(150ms);
- slotclick(43,l,false);
- wait(150ms);
- slotclick(%#itiva%,l,false);
- wait(1);
- getslotitem(43,#id,#qte);
- until(%#qte%>20);
- gui();
- log(&6&l[Macro]&f Areia recolocada !!!);
- else;gui();
- endif;
- log(&6&l[Macro]&f Cacto OK!);
- getslotitem(9,#id,#qte);
- if(%#qte%<20);
- gui(inventory);
- wait(1);
- do;
- do;
- getslotitem(%#itivc%,#id,#qitivc);
- if(%#qitivc%=0);
- inc(#itivc,1);
- if(%#itivc%=27);
- #ivitc=18;
- endif;
- endif;
- while(%#qitivc%=0);
- slotclick(%#itivc%,l,false);
- wait(150ms);
- slotclick(44,l,false);
- wait(150ms);
- slotclick(%#itivc%,l,false);
- wait(1);
- getslotitem(44,#id,#qte);
- until(%#qte%>20);
- gui();
- log(&6&l[Macro]&f Cacto recolocado !!!);
- else;
- gui();
- endif;
- slot(1);
- getslotitem(%#pa%,#spa,#stack);
- ifmatches(%#spa%,0);
- #pa=1;
- else;
- if(%DURABILITY%<20);
- wait(500ms);
- echo(/fix all);
- inc(#pa,1);
- if(%#pa%=7);
- log(&6&l[Macro]&f Pa gastas!!!);
- wait(500ms);
- endif;
- endif;
- endif;
- wait(500ms);
- loop;
- inc(#nt,1);
- inc(#tor,1);
- #alt=1;
- until(%#torre%<%#nt%);
- log(&6&l[Macro]&f Todas as torres concluidas!!!);
- log(&6&l[Macro]&f Total de Torres Feitas: &6%#nt%/%#torre%!);
- log(&6&l[Macro]&f G-Cacto &4&l[OFF]);
- logto(debug,);
- keyup(forward);
- keyup(sneak);
- keyup(back);
- keyup(jump);
- unset(cac);
- stop;
- endif;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement