Dispel Fields by heavysetrapier
Description: This script will dispel any wall, efield, para field, or poison field within range. It will start closest to you and work outward.
1removelist 'fieldrange'
2createlist 'fieldrange'
3pushlist 'fieldrange' 1
4pushlist 'fieldrange' 2
5pushlist 'fieldrange' 3
6pushlist 'fieldrange' 4
7pushlist 'fieldrange' 5
8pushlist 'fieldrange' 6
9pushlist 'fieldrange' 7
10pushlist 'fieldrange' 8
11pushlist 'fieldrange' 9
12pushlist 'fieldrange' 10
13pushlist 'fieldrange' 11
14pushlist 'fieldrange' 12
15
16cast 'dispel field'
17wait 1700
18
19while targetexists
20foreach fieldVar in 'fieldrange'
21 while findtype 128 ground any any fieldVar as foundField
22 target foundField
23 stop
24 endwhile
25
26 while findtype 14662 ground any any fieldVar as foundField
27 target foundField
28 stop
29 endwhile
30
31 while findtype 14678 ground any any fieldVar as foundField
32 target foundField
33 stop
34 endwhile
35
36 while findtype 14695 ground any any fieldVar as foundField
37 target foundField
38 stop
39 endwhile
40
41 while findtype 14713 ground any any fieldVar as foundField
42 target foundField
43 stop
44 endwhile
45
46 while findtype 14613 ground any any fieldVar as foundField
47 target foundField
48 stop
49 endwhile
50
51 while findtype 14626 ground any any fieldVar as foundField
52 target foundField
53 stop
54 endwhile
55endfor
56endwhile
57