Created: 11/16/2023, 03:47:40 AM Updated: 11/16/2023, 07:02:43 AM View Change History
1
2
3
4
5
6
7
8
9@setvar! "houseSign" 0xFFFFFFFF
10
11if "houseSign" == 0xFFFFFFFF
12 if findtype "sign" ground any any 2 as "autoFind"
13 @setvar! "houseSign" "autoFind"
14 elseif findtype "sign" ground any any 4 as "autoFind"
15 @setvar! "houseSign" "autoFind"
16 elseif findtype "sign" ground any any 6 as "autoFind"
17 @setvar! "houseSign" "autoFin0d"
18 elseif findtype "sign" ground any any 12 as "autoFind"
19 @setvar! "houseSign" "autoFind"
20 elseif findtype "sign" ground any any 18 as "autoFind"
21 @setvar! "houseSign" "autoFind"
22 else
23 overhead "No house sign found! Halting..." 1159
24 stop
25 endif
26endif
27
28if gumpexists 1957446601
29 gumpclose 1957446601
30endif
31if gumpexists 725496535
32 gumpclose 725496535
33endif
34
35if not gumpexists 2490201206
36 dclick "houseSign"
37 createtimer "globalCD"
38 waitforgump 2490201206 1000
39endif
40
41gumpresponse 3 2490201206
42waitforgump 2490201206 1000
43if not gumpexists 2490201206
44 overhead "Something went awry" 1159
45 stop
46endif
47
48
49while timerexists "globalCD" and timer "globalCD" < 600
50 wait 50
51endwhile
52gumpresponse 20 2490201206
53
54waitforgump 1957446601 1000
55gumpresponse 6 1957446601