-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclimbcross.cmd
724 lines (660 loc) · 18.1 KB
/
climbcross.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
# Climb Crossing Walls v 4.0
#
# Based off the original SF Script created by Kraelyst
# Modified and made to work for Genie3 by Pelic and Shroom
#
# UPDATED - 6/24/2020
#
#debuglevel 5
## Set weapons you want to wield for more difficult climbing (High Athletics Ranks)
var weapon1 sabre
var weapon2 nightstick
action goto WTF.WAIT when All this climbing back and forth is getting a bit tiresome
echo ========================
echo ** CROSSING CLIMBING SCRIPT STARTED!
echo *** ATHLETICS RANKS: $Athletics.Ranks
echo ========================
pause 0.2
if ($Athletics.Ranks > 500) then send get %weapon1
pause 0.3
pause 0.1
if ($Athletics.Ranks > 550) then send get %weapon2
pause 0.5
pause 0.2
pause 0.1
CRO.CLIMB:
counter set 0
if ($Athletics.LearningRate >= 29) then goto QUIT
CLIMB.EXP:
if ($Athletics.LearningRate > 27) then goto QUIT
CLIMB:
startclimb:
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "6") then gosub AUTOMOVE crossing
if ("$zoneid" = "4") then gosub AUTOMOVE crossing
if ("$zoneid" = "2a") then gosub AUTOMOVE crossing
if ("$zoneid" = "2") then gosub AUTOMOVE crossing
# if ("$roomid" != "42") then gosub automove 42
pause 0.3
if ("$zoneid" != "1") then goto ERROR
counter add 1
echo
echo *** STARTING CLIMBING SESSION %c ***
echo
pause 0.1
put set roomname
wait
CLIMBGO:
gosub AUTOMOVE 387
CLIMB-001:
SAVE FAIL-001
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
if ($roomid != 387) then gosub AUTOMOVE 387
if ($stamina < 70) then gosub FATIGUE_WAIT
pause 0.3
if ($Athletics.Ranks > 60) && ($Athletics.Ranks < 120) then gosub CLIMB_PRACTICE break
pause
put climb break
pause 0.5
pause 0.5
pause 0.3
if ("$zoneid" = "1") then goto FAIL-001
if ("$zoneid" = "8") then goto PASS-001
PASS-001:
pause 0.1
pause 0.3
if ("$zoneid" = "8") then gosub AUTOMOVE NTR
if ("$zoneid" = "8") then gosub AUTOMOVE NTR
pause 0.2
if ("$zoneid" = "7") then gosub AUTOMOVE cross
if ("$zoneid" = "7") then gosub AUTOMOVE cross
pause 0.3
if ("$zoneid" != "1") then goto PASS-001
if ($roomid != 387) then gosub AUTOMOVE 387
goto CLIMB-002
FAIL-001:
pause 0.1
goto CLIMB-002
CLIMB-002:
SAVE FAIL-002
if ("$zoneid" = "8") then gosub AUTOMOVE NTR
if ("$zoneid" = "7") then gosub AUTOMOVE cross
pause 0.3
if ($roomid != 387) then gosub AUTOMOVE 387
if ($stamina < 70) then gosub FATIGUE_WAIT
pause 0.5
if ($Athletics.Ranks > 60) && ($Athletics.Ranks < 120) then gosub CLIMB_PRACTICE embrasure
put climb embrasure
pause
pause 0.5
pause 0.3
if ("$zoneid" = "1") then goto FAIL-002
if ("$zoneid" = "7") then goto PASS-002
FAIL-002:
pause 0.1
if ("$zoneid" = "1") then
{
gosub AUTOMOVE 145
gosub AUTOMOVE NTR
}
PASS-002:
gosub move go footpath
pause 0.1
CLIMB-01:
pause 0.2
put #mapper reset
pause 0.2
if ("$zoneid" = "1") then
{
gosub AUTOMOVE 145
gosub AUTOMOVE NTR
}
if ("$zoneid" = "7") then gosub AUTOMOVE 348
pause 0.3
if ("$zoneid" != "8") then goto CLIMB-01
if ($roomid != 52) then gosub AUTOMOVE 52
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 60) then gosub FATIGUE_WAIT
SAVE FAIL-01
pause 0.5
if ($Athletics.Ranks > 60) && ($Athletics.Ranks < 120) then gosub CLIMB_PRACTICE wall
put climb wall
pause
pause 0.5
pause 0.3
if ("$zoneid" = "8") then goto FAIL-01
if ("$zoneid" = "1") then goto PASS-01
PASS-01:
if ("$zoneid" = "1") then
{
gosub AUTOMOVE 145
gosub AUTOMOVE NTR
}
gosub move go footpath
pause 0.2
put #mapper reset
pause 0.1
goto FAIL-01
FAIL-01:
pause 0.001
if ("$zoneid" = "1") then
{
gosub AUTOMOVE 145
gosub AUTOMOVE NTR
pause 0.1
}
if ("$zoneid" = "7") then gosub AUTOMOVE 348
gosub AUTOMOVE 45
if ($roomid != 45) then gosub AUTOMOVE 45
goto CLIMB-02
CLIMB-02:
pause 0.1
if ("$zoneid" = "7") then gosub AUTOMOVE 348
if ("$zoneid" = "1") then gosub AUTOMOVE 170
pause 0.3
if ($roomid != 45) then gosub AUTOMOVE 45
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 60) then gosub FATIGUE_WAIT
SAVE FAIL-02
pause 0.5
if ($Athletics.Ranks > 60) && ($Athletics.Ranks < 120) then gosub CLIMB_PRACTICE wall
put climb wall
pause
pause 0.5
pause 0.3
if ("$zoneid" = "8") then goto FAIL-02
if ("$zoneid" = "1") then goto PASS-02
PASS-02:
if ("$zoneid" = "1") then gosub AUTOMOVE 170
gosub AUTOMOVE 44
goto CLIMB-03
FAIL-02:
gosub AUTOMOVE 44
if ($roomid != 44) then gosub AUTOMOVE 44
goto CLIMB-03
CLIMB-03:
if ("$zoneid" = "1") then gosub AUTOMOVE 170
if ($roomid != 44) then gosub AUTOMOVE 44
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 60) then gosub FATIGUE_WAIT
SAVE FAIL-03
pause 0.5
if ($Athletics.Ranks > 60) && ($Athletics.Ranks < 120) then gosub CLIMB_PRACTICE wall
put climb wall
pause 0.5
pause 0.5
pause 0.5
if ("$zoneid" = "8") then goto FAIL-03
if ("$zoneid" = "1") then goto PASS-03
PASS-03:
gosub stand
if ("$zoneid" = "1") then gosub AUTOMOVE 170
gosub AUTOMOVE 2
goto CLIMB-04
FAIL-03:
gosub AUTOMOVE 2
goto CLIMB-04
CLIMB-04:
if ("$zoneid" = "1") then gosub AUTOMOVE 170
if ($roomid != 2) then gosub AUTOMOVE 2
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 60) then gosub FATIGUE_WAIT
SAVE FAIL-04
pause 0.5
put climb wall
wait
pause 0.5
pause 0.5
if ("$zoneid" = "8") then goto FAIL-04
if ("$zoneid" = "1") then goto PASS-04
FAIL-04:
if ($stamina < 60) then gosub FATIGUE_WAIT
SAVE FAIL-04
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
gosub AUTOMOVE 395
PASS-04:
goto CLIMB-05
CLIMB-05:
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
if ($roomid != 395) then gosub AUTOMOVE 395
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-05
pause 0.5
put climb embrasure
wait
pause 0.5
pause 0.5
if ("$zoneid" = "1") then goto FAIL-05
if ("$zoneid" = "8") then goto PASS-05
PASS-05:
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
pause 0.4
if ("$zoneid" = "1") then gosub AUTOMOVE 396
FAIL-05:
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
pause 0.4
if ("$zoneid" = "1") then gosub AUTOMOVE 396
goto CLIMB-06
CLIMB-06:
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
pause 0.4
if ($roomid != 396) then gosub AUTOMOVE 396
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-06
pause 0.5
put climb break
wait
pause 0.5
pause 0.5
if ("$zoneid" = "1") then goto FAIL-06
if ("$zoneid" = "8") then goto PASS-06
PASS-06:
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
pause 0.4
gosub AUTOMOVE 396
goto CLIMB-07
FAIL-06:
goto CLIMB-07
CLIMB-07:
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
pause 0.4
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
if ($roomid != 396) then gosub AUTOMOVE 396
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-07
pause 0.5
if ($Athletics.Ranks <= 400) then
{
send app emb quick
pause 2
}
pause
send climb embrasure
wait
pause
pause 0.5
if ("$zoneid" = "1") then goto FAIL-07
if ("$zoneid" = "8") then goto PASS-07
PASS-07:
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
goto TRAVEL-08
FAIL-07:
TRAVEL-08:
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
gosub AUTOMOVE 399
CLIMB-08:
if ("$zoneid" = "7") then gosub AUTOMOVE crossing
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
pause 0.5
if ("$zoneid" = "8") then gosub AUTOMOVE crossing
pause 0.1
if ($roomid != 399) then gosub AUTOMOVE 399
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-08
pause 0.5
put climb embrasure
wait
pause 0.5
pause 0.5
if ("$zoneid" = "1") then goto FAIL-08
if ("$zoneid" = "4") then goto PASS-08
PASS-08:
goto CLIMB-09
FAIL-08:
if ("$zoneid" = "1") then
{
gosub AUTOMOVE 121
gosub AUTOMOVE 172
pause 0.2
}
if ("$zoneid" = "4") then gosub AUTOMOVE 2
goto CLIMB-09
CLIMB-09:
if ("$zoneid" = "1") then gosub AUTOMOVE 172
if ($roomid != 2) then gosub AUTOMOVE 2
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-09
pause 0.5
put climb wall
wait
pause 0.5
pause 0.5
if ("$zoneid" = "4") then goto FAIL-09
if ("$zoneid" = "1") then goto PASS-09
PASS-09:
gosub AUTOMOVE 398
goto CLIMB-10
FAIL-09:
if ("$zoneid" = "4") then gosub AUTOMOVE crossing
gosub AUTOMOVE 398
goto CLIMB-10
CLIMB-10:
if ("$zoneid" = "4") then gosub AUTOMOVE cross
if ($roomid != 398) then gosub AUTOMOVE 398
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-10
pause 0.5
put climb embrasure
wait
pause 0.5
pause 0.5
if ("$zoneid" = "1") then goto FAIL-10
if ("$zoneid" = "4") then goto PASS-10
PASS-10:
if ("$zoneid" = "4") then gosub AUTOMOVE crossing
gosub AUTOMOVE 400
FAIL-10:
gosub AUTOMOVE 400
goto CLIMB-11
CLIMB-11:
if ("$zoneid" = "4") then gosub AUTOMOVE cross
if ($roomid != 400) then gosub AUTOMOVE 400
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-11
pause 0.5
put climb break
wait
pause 0.5
pause 0.5
if ("$zoneid" = "1") then goto FAIL-11
if ("$zoneid" = "4") then goto PASS-11
PASS-11:
if ("$zoneid" = "4") then gosub AUTOMOVE crossing
gosub AUTOMOVE 400
goto CLIMB-12
FAIL-11:
pause
goto CLIMB-12
CLIMB-12:
if ("$zoneid" = "4") then gosub AUTOMOVE cross
if ($roomid != 400) then gosub AUTOMOVE 400
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-12
pause 0.5
put climb embrasure
wait
pause 0.5
pause 0.5
if ("$zoneid" = "1") then goto FAIL-12
if ("$zoneid" = "4") then goto PASS-12
PASS-12:
goto CLIMB-13
FAIL-12:
if ("$zoneid" = "1") then
{
gosub AUTOMOVE 121
gosub AUTOMOVE 172
pause 0.2
}
if ("$zoneid" = "4") then gosub AUTOMOVE 221
goto CLIMB-13
CLIMB-13:
if ("$zoneid" = "1") then gosub AUTOMOVE 172
if ($roomid != 221) then gosub AUTOMOVE 221
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-13
pause 0.5
put climb wall
wait
pause 0.5
pause 0.5
if ("$zoneid" = "4") then goto FAIL-13
if ("$zoneid" = "1") then goto PASS-13
PASS-13:
if ("$zoneid" = "1") then
{
gosub AUTOMOVE 121
gosub AUTOMOVE 172
pause 0.2
}
if ("$zoneid" = "4") then gosub AUTOMOVE 220
goto CLIMB-14
FAIL-13:
if ("$zoneid" = "4") then gosub AUTOMOVE 220
goto CLIMB-14
CLIMB-14:
if ("$zoneid" = "1") then gosub AUTOMOVE 172
if ($roomid != 220) then gosub AUTOMOVE 220
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-14
pause 0.5
send climb wall
wait
pause 0.5
pause 0.5
if ("$zoneid" = "4") then goto FAIL-14
if ("$zoneid" = "1") then goto PASS-14
PASS-14:
gosub AUTOMOVE 121
gosub AUTOMOVE 172
goto CLIMB-15
FAIL-14:
gosub AUTOMOVE 1
goto CLIMB-15
CLIMB-15:
if ("$zoneid" = "1") then gosub AUTOMOVE 172
if ($roomid != 1) then gosub AUTOMOVE 1
if $Athletics.LearningRate > 33 then goto endearly
if ($stamina < 50) then gosub FATIGUE_WAIT
SAVE FAIL-15
pause 0.5
put climb wall
wait
pause 0.5
pause 0.5
if ("$zoneid" = "4") then goto FAIL-15
if ("$zoneid" = "1") then goto PASS-15
PASS-15:
if ("$zoneid" = "4") then gosub AUTOMOVE cross
gosub AUTOMOVE 42
goto TRAVEL-15
FAIL-15:
if ("$zoneid" = "4") then gosub AUTOMOVE cross
goto TRAVEL-15
TRAVEL-15:
pause 0.5
if ("$zoneid" = "4") then gosub AUTOMOVE crossing
gosub AUTOMOVE 42
goto CLIMB.EXP
WTF.WAIT:
echo
echo *** YOU ARE GOING TOO FAST!
echo *** ADD A FEW APPRAISALS IN TO BREAK UP YOUR CLIMBING
echo
pause 6
goto %s
FATIGUE_WAIT:
echo
echo *** PAUSING TO RESTORE FATIGUE... ***
echo
if ($stamina >= 95) then return
pause 5
goto FATIGUE_WAIT
CLIMB_PRACTICE:
var object $0
matchre RETURN ^The climb is too difficult|^This climb is too difficult|^You finish practicing|^You stop
put climb practice %object
matchwait 120
put stop climb
pause 0.4
return
#======================
stand:
if ($standing = 0) then put stand
if ($standing = 0) then put dance
pause 0.2
return
FALLEN:
pause 0.2
matchre STOOD You stand|You are already standing
matchre FALLEN cannot manage to stand|The weight of all your possessions
matchre FALLEN ^\.\.\.wait|^Sorry, you may only type
put stand
matchwait
STOOD:
pause 0.2
goto %s
ERROR:
echo =============================
echo ** ERROR! NOT IN CROSSINGS
echo ** MUST START SCRIPT IN/NEAR CROSSINGS
echo =============================
QUIT:
echo
echo *** DONE! ***
echo
pause 0.5
echo
echo
put #echo >Log Lime *** Climbed Xing walls %c times to $Athletics.LearningRate / 34***
put #parse DONE CLIMBING
put #parse DONE CLIMBING!
put #parse CLIMBING DONE
put #parse CLIMBING LOCKED
put #parse SCRIPT FINISHED!
pause 0.5
if matchre("$righthand $lefthand", "%weapon1") then put stow %weapon1
pause 0.5
pause 0.4
if matchre("$righthand $lefthand", "%weapon2") then put stow %weapon2
pause 0.5
pause 0.5
put glance
exit
RETREAT:
put ret
put ret
pause
goto %S
RETURN:
pause 0.1
RETURN
move:
var move.direction $0
moving:
pause 0.001
pause 0.1
matchre stand.then.move ^You must be standing to do that\.|^You can't do that while lying down\.|^Stand up first\.
matchre pause.then.move %retry.command.triggers|^\.\.\.wait
matchre retreat.from.melee.then.move ^You are engaged to .+ melee range\!|^You try to move, but you're engaged\.
matchre retreat.from.pole.then.move ^You are engaged to .+ at pole weapon range\!|^While in combat\? You'll have better luck if you first retreat\.
matchre move.return ^Obvious
matchre move.error ^You can't go there\.|^You can't swim in that direction\.|You can't do that\.|^What were you
put %move.direction
matchwait
stand.then.move:
gosub stand
goto moving
pause.then.move:
pause 0.2
goto moving
retreat.from.melee.then.move:
put retreat
retreat.from.pole.then.move:
gosub stand
put retreat
goto moving
move.error:
echo * Bad move direction, will try next command in 1 second. *
pause 0.5
put look
return
move.return:
pause 0.1
pause 0.1
return
AUTOMOVE:
delay 0.0001
var Destination $0
var automovefailCounter 0
if (!$standing) then gosub AUTOMOVE_STAND
if ("$roomid" = "%Destination") then return
AUTOMOVE_GO:
delay 0.0001
pause 0.1
matchre AUTOMOVE_FAILED ^(?:AUTOMAPPER )?MOVE(?:MENT)? FAILED
matchre AUTOMOVE_RETURN ^YOU HAVE ARRIVED(?:\!)?
matchre AUTOMOVE_RETURN ^SHOP CLOSED(?:\!)?
matchre AUTOMOVE_FAIL_BAIL ^DESTINATION NOT FOUND
put #goto %Destination
matchwait
AUTOMOVE_STAND:
pause 0.1
matchre AUTOMOVE_STAND ^\.\.\.wait|^Sorry\,
matchre AUTOMOVE_STAND ^Roundtime\:?|^\[Roundtime\:?|^\(Roundtime\:?
matchre AUTOMOVE_STAND ^The weight of all your possessions prevents you from standing\.
matchre AUTOMOVE_STAND ^You are still stunned\.
matchre AUTOMOVE_RETURN ^You stand(?:\s*back)? up\.
matchre AUTOMOVE_RETURN ^You are already standing\.
send stand
matchwait
AUTOMOVE_FAILED:
evalmath automovefailCounter (automovefailCounter + 1)
if (%automovefailCounter > 5) then goto AUTOMOVE_FAIL_BAIL
send #mapper reset
pause 0.5
pause 0.1
goto AUTOMOVE_GO
AUTOMOVE_FAIL_BAIL:
put #echo
put #echo >$Log Crimson *** AUTOMOVE FAILED. ***
put #echo >$Log Destination: %Destination
put #echo Crimson *** AUTOMOVE FAILED. ***
put #echo Crimson Destination: %Destination
put #echo
exit
AUTOMOVE_RETURN:
pause 0.2
pause 0.1
return
endearly:
pause 1
if $zoneid = 1 then
{
goto quit
}
if $zoneid = 8 then
{
put #goto cross
waitfor YOU HAVE ARRIVED
goto quit
}
if $zoneid = 6 then
{
put #goto 23
waitfor YOU HAVE ARRIVED
put #goto 42
waitfor YOU HAVE ARRIVED
goto quit
}
if $zoneid = 4 then
{
put #goto 14
waitfor YOU HAVE ARRIVED
goto quit
}
if $zoneid = 3 then
{
put #goto 15
waitfor YOU HAVE ARRIVED
goto quit
}
goto quit