Vc sabe mexer com macro ? [Basico do basico]

Bem-vindo!

Ao se registrar conosco, você poderá discutir, compartilhar e enviar mensagens privadas com outros membros da nossa comunidade.

Inscreva-se agora!
Status
Não está aberto para novas respostas.

Yurii0

Excelente
VIP
Entrou
Dez 1, 2012
Mensagens
3,009
Cubos
0
Bom, queria apenas que modificassem o macro, para que quando vc ligue ele, ele dê /home mob. apenas isso.

macro:

$${
if(sword1);
log("&4[OFF] &1Nao irei mais matar os mobs =(");
unset(sword1);
stop();
else;
log("&4[ON] &1Irei matar todos os mobs =)");
set(sword1);

&dir = %DIRECTION%;
#bau=1;
set(nf);

ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;

do;
pick(diamond_sword);

if(%DURABILITY%<100);
look(0,90);
log("&4[Reparando] &6Durabilidade critica, irei reparar.");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/pvp off
$${log("&4[Reparado] &6Reparei, pois ia quebrar.");
endif;

do(150);
look(%&dir%);
look(,-20);
wait(200ms);
key(attack);
loop;
if(nf);

wait(1);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$

$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$
$${if(%#bau%=15);}$$
/home bau15
$${endif;}$$
$${if(%#bau%=16);}$$
/home bau16
$${endif;}$$
$${if(%#bau%=17);}$$
/home bau17
$${endif;}$$
$${if(%#bau%=18);}$$
/home bau18
$${endif;}$$
$${if(%#bau%=19);}$$
/home bau19
$${endif;}$$
$${if(%#bau%=20);}$$
/home bau20
$${endif;}$$

$${wait(5);
key(use);
wait(1);
for(#i,54,87);
slotclick(%#i%,l,true);
wait(30ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau);
endif;
if(%#bau%=20);
unset(nf);
log("&4[Macro] &6Enchi todos os baus, irei apenas matar os mobs agora..");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home mob
$${endif;
endif;
loop;
endif;
}$$

Obrigaduuu !
 
Cara tem um macro na área de tutorial o macro é muito bom, mas eu não sei mexer em macro.

Enviado de meu SM-G130BU usando Tapatalk
 
$${
if(sword1);
log("&4[OFF] &1Nao irei mais matar os mobs =(");
unset(sword1);
stop();
else;
log("&4[ON] &1Irei matar todos os mobs =)");
set(sword1);

&dir = %DIRECTION%;
#bau=1;
set(nf);

ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;

do;
pick(diamond_sword);}$$/home mob$${

wait(4);
if(%DURABILITY%<100);
look(0,90);
log("&4[Reparando] &6Durabilidade critica, irei reparar.");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/pvp off
$${log("&4[Reparado] &6Reparei, pois ia quebrar.");
endif;

do(150);
look(%&dir%);
look(,-20);
wait(200ms);
key(attack);
loop;
if(nf);

wait(1);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$

$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$
$${if(%#bau%=15);}$$
/home bau15
$${endif;}$$
$${if(%#bau%=16);}$$
/home bau16
$${endif;}$$
$${if(%#bau%=17);}$$
/home bau17
$${endif;}$$
$${if(%#bau%=18);}$$
/home bau18
$${endif;}$$
$${if(%#bau%=19);}$$
/home bau19
$${endif;}$$
$${if(%#bau%=20);}$$
/home bau20
$${endif;}$$

$${wait(5);
key(use);
wait(1);
for(#i,54,87);
slotclick(%#i%,l,true);
wait(30ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau);
endif;
if(%#bau%=20);
unset(nf);
log("&4[Macro] &6Enchi todos os baus, irei apenas matar os mobs agora..");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home mob
$${endif;
endif;
loop;
endif;
}$$


Vê se vai da certo :) Ser n de e so fala que corrijo.
 
Tá aqui, testado e funcionando

$${
if(sword1);
log("&4[OFF] &1Nao irei mais matar os mobs =(");
unset(sword1);
stop();
else;
log("&4[ON] &1Irei matar todos os mobs =)");
set(sword1);

&dir = %DIRECTION%;
#bau=1;
set(nf);

ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;

do;
pick(diamond_sword);

if(%DURABILITY%<100);
look(0,90);
log("&4[Reparando] &6Durabilidade critica, irei reparar.");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/home mob
/g &5Ligando macro de espadas editado por GarciaGame
/pvp off
$${log("&4[Reparado] &6Reparei, pois ia quebrar.");
endif;

do(150);
look(%&dir%);
look(,-20);
wait(200ms);
key(attack);
loop;
if(nf);

wait(1);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$

$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$
$${if(%#bau%=15);}$$
/home bau15
$${endif;}$$
$${if(%#bau%=16);}$$
/home bau16
$${endif;}$$
$${if(%#bau%=17);}$$
/home bau17
$${endif;}$$
$${if(%#bau%=18);}$$
/home bau18
$${endif;}$$
$${if(%#bau%=19);}$$
/home bau19
$${endif;}$$
$${if(%#bau%=20);}$$
/home bau20
$${endif;}$$

$${wait(5);
key(use);
wait(1);
for(#i,54,87);
slotclick(%#i%,l,true);
wait(30ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau);
endif;
if(%#bau%=20);
unset(nf);
log("&4[Macro] &6Enchi todos os baus, irei apenas matar os mobs agora..");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home mob
$${endif;
endif;
loop;
endif;
}$$
 
Mano o sleepp manja muito de macro, se quiser aprender acho que ele te ensina.
 
calilneves disse:
$${
if(sword1);
log("&4[OFF] &1Nao irei mais matar os mobs =(");
unset(sword1);
stop();
else;
log("&4[ON] &1Irei matar todos os mobs =)");
set(sword1);

&dir = %DIRECTION%;
#bau=1;
set(nf);

ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;

do;
pick(diamond_sword);}$$/home mob$${

wait(4);
if(%DURABILITY%<100);
look(0,90);
log("&4[Reparando] &6Durabilidade critica, irei reparar.");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/pvp off
$${log("&4[Reparado] &6Reparei, pois ia quebrar.");
endif;

do(150);
look(%&dir%);
look(,-20);
wait(200ms);
key(attack);
loop;
if(nf);

wait(1);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$

$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$
$${if(%#bau%=15);}$$
/home bau15
$${endif;}$$
$${if(%#bau%=16);}$$
/home bau16
$${endif;}$$
$${if(%#bau%=17);}$$
/home bau17
$${endif;}$$
$${if(%#bau%=18);}$$
/home bau18
$${endif;}$$
$${if(%#bau%=19);}$$
/home bau19
$${endif;}$$
$${if(%#bau%=20);}$$
/home bau20
$${endif;}$$

$${wait(5);
key(use);
wait(1);
for(#i,54,87);
slotclick(%#i%,l,true);
wait(30ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau);
endif;
if(%#bau%=20);
unset(nf);
log("&4[Macro] &6Enchi todos os baus, irei apenas matar os mobs agora..");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home mob
$${endif;
endif;
loop;
endif;
}$$


Vê se vai da certo :) Ser n de e so fala que corrijo.

GarciaGame disse:
Tá aqui, testado e funcionando

$${
if(sword1);
log("&4[OFF] &1Nao irei mais matar os mobs =(");
unset(sword1);
stop();
else;
log("&4[ON] &1Irei matar todos os mobs =)");
set(sword1);

&dir = %DIRECTION%;
#bau=1;
set(nf);

ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;

do;
pick(diamond_sword);

if(%DURABILITY%<100);
look(0,90);
log("&4[Reparando] &6Durabilidade critica, irei reparar.");
wait(500ms);
key(use);
wait(500ms);
key(use);}$$
/home mob
/g &5Ligando macro de espadas editado por GarciaGame
/pvp off
$${log("&4[Reparado] &6Reparei, pois ia quebrar.");
endif;

do(150);
look(%&dir%);
look(,-20);
wait(200ms);
key(attack);
loop;
if(nf);

wait(1);
gui(inventory);
wait(1);
getslotitem(35,#id,#stack);
if(%#stack%=0);
gui();
else;
do;
wait(1);}$$

$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$
$${if(%#bau%=15);}$$
/home bau15
$${endif;}$$
$${if(%#bau%=16);}$$
/home bau16
$${endif;}$$
$${if(%#bau%=17);}$$
/home bau17
$${endif;}$$
$${if(%#bau%=18);}$$
/home bau18
$${endif;}$$
$${if(%#bau%=19);}$$
/home bau19
$${endif;}$$
$${if(%#bau%=20);}$$
/home bau20
$${endif;}$$

$${wait(5);
key(use);
wait(1);
for(#i,54,87);
slotclick(%#i%,l,true);
wait(30ms);
next;
wait(500ms);
getslotitem(53,#id,#stack);
wait(500ms);
if(%#stack%!=0);
inc(#bau);
endif;
if(%#bau%=20);
unset(nf);
log("&4[Macro] &6Enchi todos os baus, irei apenas matar os mobs agora..");
gui();
else;
gui();
endif;
until(%#stack%=0);}$$
/home mob
$${endif;
endif;
loop;
endif;
}$$
valeu seus goxtoso
 
Código:
$${
if(sword1);
  log("&4[OFF] &1Nao irei mais matar os mobs =(");
  unset(sword1);
  stop();
else;
  log("&4[ON] &1Irei matar todos os mobs =)");
  }$$/home mob$${
  wait(4);
  set(sword1);
 
&dir = %DIRECTION%;
#bau=1;
set(nf);
 
ifmatches(%&dir%,N);&dir=NORTH;endif;
ifmatches(%&dir%,S);&dir=SOUTH;endif;
ifmatches(%&dir%,E);&dir=EAST;endif;
ifmatches(%&dir%,W);&dir=WEST;endif;
 
do;
pick(diamond_sword);
 
        if(%DURABILITY%<100);
            look(0,90);
            log("&4[Reparando] &6Durabilidade critica, irei reparar.");
            wait(500ms);
            key(use);
            wait(500ms);
            key(use);}$$
/pvp off
            $${log("&4[Reparado] &6Reparei, pois ia quebrar.");
         endif;
    
        do(150);
        look(%&dir%);
        look(,-20);
        wait(200ms);
        key(attack);
    loop;   
        if(nf);
 
        wait(1);
        gui(inventory);
        wait(1);
        getslotitem(35,#id,#stack);          
            if(%#stack%=0);
            gui();
            else;
                do;
                wait(1);}$$
 
$${if(%#bau%=1);}$$
/home bau1
$${endif;}$$
$${if(%#bau%=2);}$$
/home bau2
$${endif;}$$
$${if(%#bau%=3);}$$
/home bau3
$${endif;}$$
$${if(%#bau%=4);}$$
/home bau4
$${endif;}$$
$${if(%#bau%=5);}$$
/home bau5
$${endif;}$$
$${if(%#bau%=6);}$$
/home bau6
$${endif;}$$
$${if(%#bau%=7);}$$
/home bau7
$${endif;}$$
$${if(%#bau%=8);}$$
/home bau8
$${endif;}$$
$${if(%#bau%=9);}$$
/home bau9
$${endif;}$$
$${if(%#bau%=10);}$$
/home bau10
$${endif;}$$
$${if(%#bau%=11);}$$
/home bau11
$${endif;}$$
$${if(%#bau%=12);}$$
/home bau12
$${endif;}$$
$${if(%#bau%=13);}$$
/home bau13
$${endif;}$$
$${if(%#bau%=14);}$$
/home bau14
$${endif;}$$
$${if(%#bau%=15);}$$
/home bau15
$${endif;}$$ 
$${if(%#bau%=16);}$$
/home bau16
$${endif;}$$              
$${if(%#bau%=17);}$$
/home bau17
$${endif;}$$               
$${if(%#bau%=18);}$$
/home bau18
$${endif;}$$              
$${if(%#bau%=19);}$$
/home bau19
$${endif;}$$               
$${if(%#bau%=20);}$$
/home bau20
$${endif;}$$               
               
                $${wait(5);
                key(use);
                wait(1);
                    for(#i,54,87);
                    slotclick(%#i%,l,true);
                    wait(30ms);
                    next;
                wait(500ms);
                getslotitem(53,#id,#stack);
                wait(500ms);
                    if(%#stack%!=0);
                    inc(#bau);
                    endif;
                if(%#bau%=20);
                    unset(nf);
                    log("&4[Macro] &6Enchi todos os baus, irei apenas matar os mobs agora..");
                    gui();
                    else;
                    gui();
                    endif;
                until(%#stack%=0);}$$
                /home mob
        $${endif;
        endif;
loop;
endif;
}$$
 
Status
Não está aberto para novas respostas.

Users who are viewing this thread

Voltar
Topo