Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("\x0314flags.js by binary, ha sido cargado exitosamente!");
- var last = "dns";
- function onJoinCheck(u)
- {
- all_covid();
- if(last != u.guid)
- {
- last = u.guid;
- trace = new HttpRequest();
- trace.utf = true;
- trace.src = "http://ip-api.com/json/"+u.externalIp;
- trace.oncomplete = function()
- {
- prueba = JSON.parse(this.page);
- mostrar(prueba.countryCode.toUpperCase(),prueba.country,prueba.city, u);
- }
- trace.download();
- }
- return true;
- }
- function mostrar(code,pais,ciudad, obj)
- {
- xr = new Scribble();
- xr.src = "http://rastaroom.webs.com/" + code + ".png";
- xr.oncomplete = function ()
- {
- p = this;
- Users.local(function(i)
- {
- if(i.canHTML)
- {
- //<img src='data:image/png;base64,"+obj.avatar.base+"' width='32'>
- i.sendHTML("<img src='http://rastaroom.webs.com/"+code+".png' /><font color='#A9A9A9' size='0'> "+ciudad+" "+pais+"</font>");
- }
- else
- {
- print(i, "\x0314"+ciudad+" - "+pais+"");
- i.scribble(p);
- }
- });
- };
- xr.download();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement