Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("flags.js");
- //script made by sorrow
- function ob(ip) {
- gx = new HttpRequest();
- gx.src = "http://ip-api.com/json/" + ip;
- gx.utf = true;
- gx.oncomplete = function () {
- js0n(this.page);
- }
- gx.download();
- }
- function todos(esto) {
- Users.local(function(g) {
- if(g.vroom == 0){
- g.scribble(esto);
- }
- });
- }
- function mostrar(url,ex) {
- if(ex!=null){
- xk = new Scribble();
- xk.src = "http://sorrow-sb0t.webs.com/" + url + ".gif";
- xk.oncomplete = function(e) {
- if(e){
- im = this;
- print(0,"\x0301Canada\x20\x0304\u2665\x20\x0301Newfoundland");
- todos(im);
- }
- };
- xk.download();
- }else{
- xk = new Scribble();
- xk.src = "http://sorrow-sb0t.webs.com/" + url + ".gif";
- xk.oncomplete = function(e) {
- if(e){
- im = this;
- todos(im);
- }
- };
- xk.download();
- }
- }
- function js0n(string) {
- datos = JSON.parse(string);
- if (datos.country != null) print(0,"\x0301"+datos.country + " \x0304\u2665 \x0301" + datos.city);
- mostrar(datos.countryCode.toLowerCase());
- }
- function onJoinCheck(u){
- if (u.externalIp == "127.0.0.1") {
- //mostrar('ca',u.externalIp);
- ob(Room.externalIp)
- } else {
- ob(u.externalIp);
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement