/
AutoVote.txt
52 lines (42 loc) · 957 Bytes
/
AutoVote.txt
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
// Set your vote for healthvote: half, normal, double, triple
set(&healthvote,"normal")
// Set your vote for itemvote: hardcore, normal, op
set(&itemvote,"normal")
// Setting Health
if(%&healthvote% ="half")
set(&hsvalue,10)
elseif(%&healthvote% ="normal")
set(&hsvalue,12)
elseif(%&healthvote% ="double")
set(&hsvalue,14)
elseif(%&healthvote% ="triple")
set(&hsvalue,16)
endif
// Setting Items
if(%&itemvote% ="hardcore")
set(&isvalue,11)
elseif(%&itemvote% ="normal")
set(&isvalue,13)
elseif(%&itemvote% ="op")
set(&isvalue,15)
endif
// Announcing vote.
log(&6Auto-voting &a%&healthvote% &6health and &a%&itemvote% &6items ...)
//Health
SLOT(2)
WAIT(5t)
KEY(use)
WAIT(5t)
SLOTCLICK(15,1,false)
WAIT(5t)
SLOTCLICK(%&hsvalue%,1,false)
gui()
WAIT(5t)
//Items
SLOT(2)
WAIT(5t)
KEY(use)
WAIT(5t)
SLOTCLICK(11,1,false)
WAIT(5t)
SLOTCLICK(%&isvalue%,1,false)