Facebook
From Whipped Finch, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 202
  1. ((_no, g, message, map) => {
  2.     window.newOther = (e) => {
  3.         for(const [id, other] of Object.entries(e)){
  4.             if(undefined === g.other[id] && !other.hasOwnProperty("del") && map.pvp === 2){
  5.                 const {lvl, nick, prof, relation} = other;
  6.                 if(!"cl,cl-fr,fr".includes(relation) || relation === "") {
  7.                     message(`Gracz: ${nick} ${lvl}${prof}`);
  8.                 }
  9.             }
  10.         }
  11.         _no(e);
  12.     }
  13. })(window.newOther, window.g, window.message, window.map)
  14.  
  15.