Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("flags2..made by sorrow");
- function ob(ip) {
- gx = new HttpRequest();
- gx.src = "http://usercountry.com/v1.0/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,"\x0315Canada\x20\x0313\u2661\x20\x0315Newfoundland");
- 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.name != null) print(0,"\x0315"+datos.country.name+ "\x0313 \u2661 \x0315"+datos.region.city+" \x0314~ \x0315"+datos.timezone.current_time.split("T")[1].split("-")[0].substr(0,5));
- mostrar(datos.country['alpha-2'].toLowerCase());
- }
- function onJoinCheck(u){
- if (u.externalIp == "127.0.0.1") {
- mostrar('ca',u.externalIp);
- return true;
- } else {
- ob(u.externalIp);
- return true;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement