Código:
//Ligar chat loja
ifmatches(%CHATCLEAN%,"^\[(L|A|G|MEGAFONE)\](.+)%PLAYER%(.*)\: (.*)");
match(%CHATCLEAN%,"^\[(L|A|G|MEGAFONE)\](.+)%PLAYER%(.*)\: (.*)",{&chatout,&middrop,&latedrop,&msgout});
ifmatches(%&msgout%,"chat(.+)loja");
ifmatches(%&antiflood%,"off");
modify("&a&l[Macro]&f Anti-Flood (Loja) &7by &5Xylic &9&l[&a&lON&9&l]");
&antiflood="on";
set(@antiflood);
stop();
else;
modify("&a&l[Macro]&f Anti-Flood (Loja) &7by &5Xylic &9&l[&4&lOFF&9&l]");
wait(2);
&antiflood="off";
unset(@antiflood);
stop();
endif;
endif;
endif;
////Loja normal
strip(&xylichat,%CHATCLEAN%);
ifmatches(%&xylichat%,"^\>(.+) (comprou|vendeu) (.+) (.+) por (.+) em seu shop");
match(%&xylichat%,"^\>(.+) (comprou|vendeu) (.+) (.+) por (.+) em seu shop",{&xyplayer,&xybuysell,&xyquantidade,&xyitem,&xypreco});
if(@antiflood);
filter;
endif;
endif;
////Loja Oficial
strip(&xylichat1,%CHATCLEAN%);
ifmatches(%&xylichat1%,"^\[Loja Oficial] Você (comprou|vendeu) (.+) x (.+) por (.+) coins");
match(%&xylichat1%,"^\[Loja Oficial] Você (comprou|vendeu) (.+) x (.+) por (.+) coins",{&lofbuysell,&lofquantidade,&lofitem,&lofpreco});
if(@antiflood);
filter;
endif;
endif;