Gate Clicker by Brozan (Syal)

Description: For a blue character! Clicks on the various different types of moongates and selects last used option

1# Handle blue gates
2if findtype 3948 'ground' 0 1 2 as 'bluegate'
3    dclick 'bluegate'
4    waitforgump 3899019871
5    gumpresponse 2
6endif
7
8# Handle red moongates
9if findtype 3948 'ground' 2820 1 2 as 'redmoongate'
10    # Goto Outpost
11    dclick 'redmoongate'
12    waitforgump 3773199800
13    gumpresponse 14
14    waitforgump 3773199800
15    gumpresponse 2
16endif
17
18# Handle blue moongates
19if findtype 3948 'ground' 2821 1 2 as 'bluemoongate'
20    # Goto Shelter Island
21    dclick 'bluemoongate'
22    waitforgump 3773199800
23    gumpresponse 17
24    waitforgump 3773199800
25    gumpresponse 2
26endif
27
28# Handle yellow moongates
29if findtype 3948 'ground' 2822 1 2 as 'yellowmoongate'
30    # Goto Outpost
31    dclick 'yellowmoongate'
32    waitforgump 3773199800
33    gumpresponse 14
34    waitforgump 3773199800
35    gumpresponse 2
36endif
37
38# Handle gray moongates
39if findtype 8148 'ground' -1 1 2 as 'graymoongate'
40    # Confirm
41    dclick 'graymoongate'
42    waitforgump 3899019871
43    gumpresponse 2
44endif
45
46# Handle gray moongates
47if findtype 30528 'ground' -1 1 2 as 'graymoongate'
48    # Confirm
49    dclick 'graymoongate'
50endif