Back to "moongate" tags

Ultimate Quick Escape through gate (M) by Jaseowns

1# Quick Escape through Moongate by Jaseowns
2# UO Outlands
3# Different flavor of https://outlands.uorazorscripts.com/script/3b44493a-da5e-4259-9b6f-25855b2f0eb2
4# Description:
5#   Take a moongate, chiv gate or dungeon gate as fast as possible
6#   If you add a recall home script on line 15, you will recall
7#   After you take the gate.  Check out https://youtu.be/JtWgeyr85uQ
8#  
9#   01/17/2023 - Added Grey SSC Moongate
10#
11removelist recallScriptList
12createlist recallScriptList
13// Set a recall script name in this list if you want to recall after taking moongate 
14// Check out the livestream for question - https://youtu.be/JtWgeyr85uQ
15if name = "Jaseowns" or name = "Jase Owns" or name = "of Time"
16    pushlist recallScriptList "___RECALL___"
17endif
18
19#############
20# Player gates
21#############
22while not gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate
23    dclick jGate
24endwhile
25
26if gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate
27    while gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate
28        gumpresponse 2 3899019871
29        wait 200
30    endwhile
31    stop
32endif
33
34#############
35# Chiv gate
36#############
37while not gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as jGate
38    dclick jGate
39endwhile
40
41if gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as jGate
42    while gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as jGate
43        gumpresponse 2 3899019871
44        wait 200
45    endwhile
46    stop
47endif
48
49
50#############
51# Town/Dungeon Moongates - yellow, red, death, blue
52#############
53while not gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as jGate
54    dclick jGate
55endwhile
56
57if gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as jGate
58    while gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as jGate
59        gumpresponse 2 3773199800
60        wait 200
61    endwhile
62    if not dead
63        foreach recallScript in recallScriptList
64            script recallScript
65        endfor
66    endif
67    stop
68endif
69
70#############
71# Grey Moongates - SSC
72#############
73while not gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as jGate
74    dclick jGate
75endwhile
76
77if gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as jGate
78    while gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as jGate
79        gumpresponse 2 3899019871
80        wait 200
81    endwhile
82    stop
83endif
84
85if findtype "moongate" ground -1 1 12 or findtype "blue moongate" ground -1 1 12 as jGate
86    overhead "Move closer!" 34
87    wait 50
88    replay 
89else 
90    overhead "No gate nearby!" 34
91endif