Advertisement
dahnnyel1

Untitled

Apr 16th, 2020
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. print("\x0314flags.js by binary, ha sido cargado exitosamente!");
  2.  
  3.  
  4.  
  5. var last = "dns";
  6.  
  7. function onJoinCheck(u)
  8. {
  9.  
  10. all_covid();
  11. if(last != u.guid)
  12. {
  13.  
  14. last = u.guid;
  15.  
  16. trace = new HttpRequest();
  17.  
  18. trace.utf = true;
  19.  
  20. trace.src = "http://ip-api.com/json/"+u.externalIp;
  21.  
  22. trace.oncomplete = function()
  23. {
  24. prueba = JSON.parse(this.page);
  25.  
  26. mostrar(prueba.countryCode.toUpperCase(),prueba.country,prueba.city, u);
  27. }
  28.  
  29.  
  30. trace.download();
  31. }
  32.  
  33.  
  34. return true;
  35. }
  36.  
  37. function mostrar(code,pais,ciudad, obj)
  38. {
  39.  
  40. xr = new Scribble();
  41.  
  42. xr.src = "http://rastaroom.webs.com/" + code + ".png";
  43.  
  44. xr.oncomplete = function ()
  45. {
  46. p = this;
  47. Users.local(function(i)
  48. {
  49.  
  50. if(i.canHTML)
  51. {
  52. //<img src='data:image/png;base64,"+obj.avatar.base+"' width='32'>
  53. i.sendHTML("<img src='http://rastaroom.webs.com/"+code+".png' /><font color='#A9A9A9' size='0'> "+ciudad+" "+pais+"</font>");
  54. }
  55. else
  56. {
  57. print(i, "\x0314"+ciudad+" - "+pais+"");
  58. i.scribble(p);
  59. }
  60.  
  61.  
  62. });
  63. };
  64.  
  65. xr.download();
  66.  
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement