Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Pozycje questowe
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match http://syberia.margonem.pl/
- // @grant none
- // ==/UserScript==
- var positions = [
- {x: 56, y: 27, z: "Ithan", checked: false},
- ];
- var nr_dialog = [
- {z: 3,},
- {z: 0,},
- {z: 0,},
- ];
- var currentDialog = 0;
- // Interval co 0,5 sekundy
- const x = setInterval(() => {
- // Iteruje po pozycjach
- for(var i in positions) {
- const position = positions[i];
- if(position.x === hero.x && position.y === hero.y && position.z === map.name && !position.checked){
- position.checked = true;
- _g('talk&id=44099');
- wait(500);
- $('#replies').find('li').eq(nr_dialog[currentDialog]).click();
- currentDialog++;
- };
- }
- }, 500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement