GreysitoErPutoAmo

Chat Filter Keybind

Aug 23rd, 2015
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. //Announcement Filter
  2. IFMATCHES(%CHAT%,"^§r\[§r§bAnuncio§r] §r.+?$");
  3. FILTER();
  4. ENDIF;
  5.  
  6. //Achievement Filter
  7. IFMATCHES(%CHAT%,"^.+?§r.+?§r§.\[§r§..+?§r§.]§r$");
  8. FILTER();
  9. ENDIF;
  10.  
  11. //Private Call
  12. IFMATCHES(%CHAT%,"^§r§6[§r§..+§r§6 -> §r§cyo§r§6] §r.+§r$");
  13. PLAYSOUND(note.pling);
  14. ENDIF;
  15.  
  16. //Join
  17. IFMATCHES(%CHAT%,"^§r§e(.+?) joined the game§r");
  18. MATCH(%CHAT%,"^§r§e(.+?) joined the game§r$",{&qplayer});
  19. MODIFY("&a[+]%&qplayer% &ese ha unido al servidor!");
  20. ENDIF;
  21.  
  22. //Leave
  23. IFMATCHES(%CHAT%,"^§r§e(.+?) left the game\.§r");
  24. MATCH(%CHAT%,"^§r§e(.+?) left the game\.§r$",{&qplayer});
  25. MODIFY("&c[-]%&qplayer% &eha salido del servidor!");
  26. ENDIF;
Add Comment
Please, Sign In to add comment