-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRecallMaker.uos
70 lines (69 loc) · 1.66 KB
/
RecallMaker.uos
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
//you will need two containers one with regs,scrolls,pens one empty
//WARNING THIS SCRIPT MAYBE ILLEGAL ON YOUR SERVER !!
//You need to have your restock container OPEN when you start this up !
if not @findobject 'restock'
promptalias 'restock'
endif
if not @findobject 'finished recall'
promptalias 'finished recall'
endif
if @counttype 0x1f4c 'any' 'backpack' >= 100
if @movetype 0x1f4c 'backpack' 'finished recall'
pause 1500
endif
endif
if @counttype 0xfbf 'any' 'backpack' == 0
if @movetype 0xfbf 'restock' 'backpack' 0 0 0 'any' 1
pause 1500
else
sysmsg 'Out of pens!' 25
@canceltarget
stop
endif
endif
if @counttype 0xef3 'any' 'backpack' == 0
if @movetype 0xef3 'restock' 'backpack' 0 0 0 'any' 100
pause 1500
else
sysmsg 'Out of scrolls!' 25
@canceltarget
stop
endif
endif
if @counttype 0xf7b 'any' 'backpack' == 0
if @movetype 0xf7b 'restock' 'backpack' 0 0 0 'any' 100
pause 1500
else
sysmsg 'Out of blood moss!' 25
@canceltarget
stop
endif
endif
if @counttype 0xf86 'any' 'backpack' == 0
if @movetype 0xf86 'restock' 'backpack' 0 0 0 'any' 100
pause 1500
else
sysmsg 'Out of mandrake!' 25
@canceltarget
stop
endif
endif
if @counttype 0xf7a 'any' 'backpack' == 0
if @movetype 0xf7a 'restock' 'backpack' 0 0 0 'any' 100
pause 1500
else
sysmsg 'Out of black pearl!' 25
@canceltarget
stop
endif
endif
if @usetype '0xfbf' 'any' 'backpack'
waitforgump '0x38920abd' 5000
replygump 0x38920abd 51
pause '1250'
endif
if mana < 70
useskill 'meditation'
while not mana == maxmana
endwhile
endif