/
AutoVoteSkywars.txt
75 lines (60 loc) · 1.26 KB
/
AutoVoteSkywars.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Set your vote for items: basic, normal, op
set(&itemvote,"normal")
// Set your vote for projectiles: none, normal, soft
set(&projvote,"soft")
// Set your vote for time: night, day, sunset
set(&timevote,"sunset")
// Setting Items
if(%&itemvote% ="basic")
set(&isvalue,10)
elseif(%&itemvote% ="normal")
set(&isvalue,13)
elseif(%&itemvote% ="op")
set(&isvalue,16)
endif
// Setting Projectiles
if(%&projvote% ="none")
set(&psvalue,10)
elseif(%&projvote% ="normal")
set(&psvalue,13)
elseif(%&projvote% ="soft")
set(&psvalue,16)
endif
// Setting Time
if(%&timevote% ="night")
set(&tsvalue,10)
elseif(%&timevote% ="day")
set(&tsvalue,13)
elseif(%&timevote% ="sunset")
set(&tsvalue,16)
endif
// Announcing vote.
log(&6Auto-voting &a%&itemvote% &6items, Projectiles: &a%&projvote%&6 and time: %&timevote%)
//Items
SLOT(2)
WAIT(5t)
KEY(use)
WAIT(5t)
SLOTCLICK(10,1,false)
WAIT(5t)
SLOTCLICK(%&isvalue%,1,false)
gui()
WAIT(5t)
//Projectiles
SLOT(2)
WAIT(5t)
KEY(use)
WAIT(5t)
SLOTCLICK(13,1,false)
WAIT(5t)
SLOTCLICK(%&psvalue%,1,false)
gui()
WAIT(5t)
//Time
SLOT(2)
WAIT(5t)
KEY(use)
WAIT(5t)
SLOTCLICK(16,1,false)
WAIT(5t)
SLOTCLICK(%&tsvalue%,1,false)