Created: 10/03/2023, 01:58:44 AM Updated: 10/03/2023, 01:58:44 AM View Change History
1
2
3@setvar! myDockMaster 0
4
5settimer jaseowns_EscapeToDockMasterTimer 0
6
7while myDockMaster = 0
8 hotkey "Next Monster Target"
9 getlabel lasttarget desc
10 if "dockmaster" in desc
11 @setvar! myDockMaster lasttarget
12 endif
13
14 if timer jaseowns_EscapeToDockMasterTimer >= 2500
15 break
16 endif
17endwhile
18
19if find myDockMaster ground -1 -1 20
20 clearsysmsg
21 while not gumpexists 3287496917
22 menu myDockMaster 1
23 waitforgump 3287496917 500
24 endwhile
25 if gumpexists 3287496917
26 gumpresponse 7 3287496917
27 wait 500
28 if insysmsg "The ship has not been stationary long enough to dock"
29 say "[Stop"
30 replay
31 endif
32 endif
33else
34 overhead "No dockermaster found!" 34
35endif
36
37
38