-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapppouch.cmd
More file actions
51 lines (36 loc) · 770 Bytes
/
apppouch.cmd
File metadata and controls
51 lines (36 loc) · 770 Bytes
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
#debug 5
var container $primary.container
var gempouch $gem.pouch
if (%argcount == 0 || %1 < 1) then
{
echo enter a number larger than 0
exit
}
var pouches %1
var loop_count 0
var numbers first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth
loop:
gosub app
math loop_count add 1
if (%loop_count >= %pouches) then goto end
goto loop
app:
var number %numbers[%loop_count]
var temp %loop_count
math temp add 1
echo %temp / %pouches
put get my %number %gempouch in my %container
put app my %gempouch quick
waitfor Roundtime
goto stow
stow:
match RETURN You put
pause 0.1
put put my %gempouch in my %container
matchwait 2
goto stow
RETURN:
return
end:
put sort my %gempouch
put #parse APPRAISE DONE