Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name a_Dodatek Wróg
- // @version 1.0
- // @description Dodatek wróg
- // @author Tak
- // @match http://*.margonem.pl/
- // @grant none
- // ==/UserScript==
- (n => {
- let audio = new Audio("http://cronus.margonem.com/sounds/new_mail.mp3");
- newOther = e => {
- n(e);
- if(map.pvp == 2){
- for(let z in e){
- if(e[z].nick !== undefined && e[z].relation !== 'fr' && hero.clan.name !== e[z].clan.name || e[z].relation !== 'cl' && e[z].nick !== undefined && hero.clan.name !== e[z].clan.name) {
- message(`${e[z].nick} ${e[z].lvl}${e[z].prof}`);
- audio.play();
- }
- }
- }
- }
- })(newOther)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement