Macroooo

Bem-vindo!

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

Registrar agora!
  • PROMOÇÃO DE NATAL NO AR

    Novo servidor: CraftLandia Olimpo


Status
Não está aberto para novas respostas.

MaayThe

Craftlandiano
VIP
Entrou
Jan 17, 2014
Mensagens
4,119
Pontuação de reação
1,066
Idade
25
Localização
Minas Gerais
Cubos
0
alguem poderia editar esse macro pra quando ele for pegar os vidros desse 2 pulos?

$${
if(sword1);
log("&4[MACRO MURO] &6Macro de construir muro Desativado &4DESENVOLVIDO POR: KAKITUSELITE REGION 2.0");
unset(sword1);
stop();
else;
log("&4[MACRO MURO] &6Macro de construir muro Ativado &4DESENVOLVIDO POR: KAKITUSELITE REGION 2.0");
set(sword1);

PROMPT(#altura,$$?,Qual será a altura do Muro?);
PROMPT(#compr1,$$?,Qual será o Comprimento do Muro?);
PROMPT(&muros,$$?,Deseja construir apenas um unico Muro? Sim ou não?);
PROMPT(&vip,$$?,Você é VIP? Sim ou não?);
PROMPT(&it,$$i, Que tipo de item será utilizado na construção?);
ifmatches(%DIRECTION%,N);&dir=NORTH;endif;
ifmatches(%DIRECTION%,S);&dir=SOUTH;endif;
ifmatches(%DIRECTION%,W);&dir=WEST;endif;
ifmatches(%DIRECTION%,E);&dir=EAST;endif;

ifmatches(%&muros%,^[N|n|NAO|nao]);
dec(#compr1,1);
#total = %#altura% * %#compr1% * 4;
endif;

ifmatches(%&muros%,^[S|s|SIM|sim]);
dec(#compr1,1);
#total = %#altura% * %#compr1% * 4;
endif;

LOG("&4[MACRO MURO] &3 Total de Blocos %&it% necessarios : %#total% ");
LOG("&4[MACRO MURO] &3 Assim que seus blocos estiverem com menos");
LOG("&3 de 120 blocos será teleportado para encher o inventario");

look(,90);


for(#lvl,1,%#altura%);

keydown(JUMP);
wait(200ms);
pick(%&it%);
Key(use);
wait(200ms);
keyup(JUMP);


look(,90);
keydown(sneak);

ifmatches(%&muros%,^[S|s|SIM|sim]);
#tot = 1;
endif;

ifmatches(%&muros%,^[N|n|NAO|nao]);
#tot = 4;
endif;

for(#vol,1,%#tot%);

look(,90);

keydown(sneak);

look(,90);
for(#i,1,%#compr1%);
pick(%&it%);
keydown(forward);
wait(1000ms);
keyup(forward);


pick(%&it%);
wait(200ms);
Key(use);
wait(30ms);
Key(use);
pick(%&it%);
next;

wait(100ms);
pick(%&it%);
ifmatches(%&muros%,^[S|s|SIM|sim]);
look(-180,90);

Endif;

ifmatches(%&muros%,^[N|n|NAO|nao]);
look(-90,90);
Endif;

wait(200ms);
gui(inventory);
wait(1);

#capac = 0;
#quant = 0;
for(#capa2,36,44);
getslotitem(%#capa2%,&id,#tama);
if(%&id% != %&it%);
#contr = 0;
for(#capac,9,35);
getslotitem(%#capac%,&id,#stack);
if(#%contr% = 0);
ifmatches(%&id%,%&it%);
inc(#quant,%#stack%);
slotclick(%#capac%,l,false);
wait(150ms);
slotclick(%#capa2%,l,false);
#contr = 1;
endif;
endif;
next;
endif;
if(%&id% = %&it%);
inc(#quant,%#tama%);
endif;
next;
gui();
log(&4 [MACRO MURO] Quantidade de material: %#quant% [KAKITUSELITE REGION 2.0]);
wait(200ms);
if(%#quant% < 120);

type("/");
wait(300ms);
type("s");
wait(300ms);
type("et");
wait(300ms);
type("home");
wait(300ms);
type(" temp");
wait(300ms);
type("muro");
wait(300ms);
press(return);
wait(30t);



type("/");
wait(300ms);
type("h");
wait(300ms);
type("om");
wait(300ms);
type("e");
wait(300ms);
type(" baus");
wait(300ms);
type("muro");
wait(300ms);
press(return);
wait(30t);


ifmatches(%&vip%,^[N|n|NAO|nao]);
log(" &2[MACRO MURO] Aguarde..... ");
log(" &3 Gostou do [MACRO MURO] ? faca uma doaçao player: kakituselite Servidor &3 region 2.0");
wait(200t);
endif;
ifmatches(%&vip%,^[S|s|SIM|sim]);
log(" &3 Gostou do [MACRO MURO] ? faca uma doaçao player: kakituselite Servidor &3 region 2.0");
wait(80t);
endif;

look(,90);
//Primeiro bau


keyup(sneak);
wait(100ms);
look(-90,45);

wait(1);
key(use);
wait(30t);

for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);



if(%#qntt% < 128);
// segundo bau
wait(100ms);
look(,-40);

wait(1);
key(use);
wait(30t);


for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);


Endif;



if(%#qntt% < 128);
// terceiro bau
wait(100ms);
look(,-40);

wait(1);
key(use);
wait(30t);


for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);


Endif;

if(%#qntt% < 128);
// quarto bau
wait(100ms);
look(+62,+15);

wait(1);
key(use);
wait(30t);


for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);


Endif;

if(%#qntt% < 128);
// quinto bau
wait(100ms);
look(,+20);

wait(1);
key(use);
wait(30t);

for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);


Endif;

if(%#qntt% < 128);

// sexto bau
wait(100ms);
look(,+30);

wait(1);
key(use);
wait(30t);

for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);


Endif;


if(%#qntt% < 128);
// setimo bau
wait(100ms);
look(+30,-10);

wait(1);
key(use);
wait(30t);

for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);


Endif;


if(%#qntt% < 128);
// oitavo bau
wait(100ms);
look(,-20);

wait(1);
key(use);
wait(30t);

for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);


Endif;


if(%#qntt% < 128);
// novo bau
wait(100ms);
look(,-20);

wait(1);
key(use);
wait(30t);

for(#i,0,53);
getslotitem(%#i%,&ide,#stacke);
ifmatches(%&ide%,%&it%);
inc(#qntt,%#stacke%);
#vaza = 0;
for(#x,54,80);
getslotitem(%#x%,&ide,#stacke);
if(%#vaza% = 0);
ifmatches(%&ide%,air);
slotclick(%#i%,l,false);
slotclick(%#x%,l,false);
#vaza = 1;
endif;
endif;
next;
endif;
next;
wait(200ms);
gui();
wait(200ms);


Endif;

if(%#qntt% < 128);
LOG(&4 [MACRO MURO] Acabou os materiais fim de macro);
stop();
Endif;

keydown(sneak);
#qntt = 0;
wait(300ms);
type("/");
wait(300ms);
type("h");
wait(300ms);
type("om");
wait(300ms);
type("e");
wait(300ms);
type(" temp");
wait(300ms);
type("muro");
wait(300ms);
press(return);
wait(30t);

ifmatches(%&vip%,^[N|n|NAO|nao]);
wait(200t);
endif;
ifmatches(%&vip%,^[S|s|SIM|sim]);
wait(80t);
endif;

endif;

next;

next;

LOG(&3[MACRO MURO] Macro finalizado, criado por kakituselite);
echo(/g Acabei de terminar uma construção com o novo macro do kakituselite do region 2.0);

endif;
}$$
 
Status
Não está aberto para novas respostas.

Usuários que estão visualizando este tópico

Voltar
Topo