Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. $${
  2. //MACRO:yPigmeu owna
  3.  
  4. //Delay para Anunciar um Anuncio?
  5. #swanunciodelay = 47;
  6.  
  7. //Deseja mandar os anuncio em SEQUENCIA ou ALEATORIO?
  8. &swAnuncioordem = "ALEATORIO";
  9.  
  10. //Qual comando utilizar para anunciar?
  11. &swcomandoparaanunciar = "/a";
  12.  
  13. //Digite abaixo quais anuncios você quer
  14. //Caso queira mais, so copiar e colocar outro em baixo, e editar o [N] em ordem
  15. &swarrayanuncio[0] = "&a&lSorteio> &chttp://www.mysticcraft.com.br/ipb/index.php?/topic/1783-sorteio-ultra-pvp/ &4[afk]";
  16. &swarrayanuncio[1] = "&a&lSorteio> &fhttp://www.mysticcraft.com.br/ipb/index.php?/topic/1783-sorteio-ultra-pvp/ &4[afk]";
  17. &swarrayanuncio[2] = "&a&lSorteio> &ehttp://www.mysticcraft.com.br/ipb/index.php?/topic/1783-sorteio-ultra-pvp/ &4[afk]";
  18.  
  19.  
  20. if(swanuncio); log(""); log(""); log("&6[Macro] &fDivulgar &4&lDESLIGADO&f, Feito por &byPigmeu&f!");log(""); log(""); unset(swanuncio); stop(); else; set(swanuncio); log(""); log(""); log("&6[Macro] &fDivulgar sendo &2&lATIVADO&f, Feito por &byPigmeu&f!"); log(""); ARRAYSIZE(&swarrayanuncio,#swarrayanunciosize); #swlastrandomnumber = -9999; wait(1); if((%&swanuncioordem% = "ALEATORIO") || (%&swanuncioordem% = "aleatorio") || (%&swanuncioordem% = "Aleatorio")); log("&6[Macro] &fOs Anuncios serao no &6&l%&swcomandoparaanunciar% &fno modo &6&lALEATORIO&f!"); else; log("&6[Macro] &fOs Anuncios serao no &6&l%&swcomandoparaanunciar% &fno modo em &6&lSEQUENCIA&f!"); endif; wait(1); DO; if((%&swanuncioordem% = "ALEATORIO") || (%&swanuncioordem% = "aleatorio") || (%&swanuncioordem% = "Aleatorio")); RANDOM(#swrandomnumber,%#swarrayanunciosize%,0); if(%#swrandomnumber% != %#swlastrandomnumber%); if(%&swarrayanuncio[%#swrandomnumber%]% != ""); echo(%&swcomandoparaanunciar% %&swarrayanuncio[%#swrandomnumber%]%); #swlastrandomnumber = %#swrandomnumber%; wait(%#swanunciodelay%); endif; endif; else; if(%#swlastrandomnumber% = -9999); #swlastrandomnumber = 0; endif; if(%#swlastrandomnumber% > (%#swarrayanunciosize% - 1)); #swlastrandomnumber = 0; endif; if(%&swarrayanuncio[%#swlastrandomnumber%]% != ""); echo(%&swcomandoparaanunciar% %&swarrayanuncio[%#swlastrandomnumber%]%); wait(%#swanunciodelay%); endif; inc(#swlastrandomnumber); endif; LOOP; endif; }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement