D
Deleted member 492126
Guest
Hoi, you might find this useful if you're using Macromod :)
In 2018 Lezappen created a script that voted for certain options for you when pressing a certain key. I've made it so this script also gives you the ability to preselect any voting options with commands. You will automatically vote for the selected options when a game is about to start. This will probably help you if you usually forget to vote & if you join a game when it's about to start.
Vid:
Script:
If you don't know how to use this / want to know how it works, feel free to message me on discord - spuni#6101
In 2018 Lezappen created a script that voted for certain options for you when pressing a certain key. I've made it so this script also gives you the ability to preselect any voting options with commands. You will automatically vote for the selected options when a game is about to start. This will probably help you if you usually forget to vote & if you join a game when it's about to start.
Vid:
Script:
This should be put in your OnSendChatMessage event:
Code:
IFMATCHES(%CHAT%,/autovote help)
LOG("&9------- &b&lAutoVote Help&9 -------")
LOG("&6/autovote sw <chests> <projectiles> &aEnable autovoting for &aSkyWars.")
LOG("&a<chests> can be &a&lbasic&a, &a&lnormal&a or &a&loverpowered&a.")
LOG("&a<projectiles> can be &a&lnothrowables&a, &a&lnormal&a or &a&lsoftblocks&a.")
LOG( )
LOG("&6/autovote ew <items> <health> &aEnable autovoting for EggWars.")
LOG("&a<items> can be &a&lhardcore&a, &a&lnormal&a or &a&loverpowered&a.")
LOG("&a<health> can be &a&lhalf&a, &a&lnormal&a, &a&ldouble&a or &a<riple&a.")
LOG( )
LOG("&6/autovote li <mode> &aEnable autovoting for Lucky Islands.")
LOG("&a<mode> can be &a&lblessed&a, &a&lnormal&a or &a&lcrazy&a.")
LOG( )
LOG("&6/autovote <sw/ew/li> off &aDisable AutoVote for a certain game.")
FILTER()
ENDIF
IFMATCHES(%CHAT%,/autovote ([a-z][a-z]) (.*),&game,1)
MATCH(%CHAT%,"/autovote ([a-z][a-z]) (.*)",&voting,2)
IF(&game = "sw")
IF(&voting = "off")
SET(@&swvote,off)
LOG("&aAutoVote has been &c&ldisabled&a for SkyWars.")
FILTER()
ELSE
SET(@&swvote,on)
MATCH(%&voting%,"(.*) (.*)",&vote1,1)
MATCH(%&voting%,"(.*) (.*)",&vote2,2)
IF(&vote1 = "basic")
SET(@&chests,basic)
ELSEIF(&vote1 = "normal")
SET(@&chests,normal)
ELSEIF(&vote1 = "overpowered")
SET(@&chests,overpowered)
ELSE
LOG("&cChest type not found, please type /autovote help for help.")
FILTER()
ENDIF
IF(&vote2 = "nothrowables")
SET(@&projectiles,"no throwables")
ELSEIF(&vote2 = "normal")
SET(@&projectiles,"normal projectiles")
ELSEIF(&vote2 = "softblocks")
SET(@&projectiles,"soft blocks")
ELSE
LOG("&cProjectiles type not found, please type /autovote help for &chelp.")
FILTER
ENDIF
LOG("&aThe following items will be voted for automatically in SkyWars: &6&l%@&chests% chests&a and &6&l%@&projectiles%&a.")
FILTER()
ENDIF
ELSEIF(&game = "ew")
IF(&voting = "off")
SET(@&ewvote,off)
LOG("&aAutoVote has been &c&ldisabled&a for EggWars.")
FILTER()
ELSE
SET(@&ewvote,on)
MATCH(%&voting%,"(.*) (.*)",&vote3,1)
MATCH(%&voting%,"(.*) (.*)",&vote4,2)
IF(&vote3 = "hardcore")
SET(@&items,hardcore)
ELSEIF(&vote3 = "normal")
SET(@&items,normal)
ELSEIF(&vote3 = "overpowered")
SET(@&items,overpowered)
ELSE
LOG("&cItems type not found, please type /autovote help for help.")
FILTER()
ENDIF
IF(&vote4 = "half")
SET(@&health,half)
ELSEIF(&vote4 = "normal")
SET(@&health,normal)
ELSEIF(&vote4 = "double")
SET(@&health,double)
ELSEIF(&vote4 = "triple")
SET(@&health,triple)
ELSE
LOG("&cHealth type not found, please type /autovote help for help.")
FILTER()
ENDIF
LOG("&aThe following items will be voted for automatically in EggWars: &6&l%@&items% items&a and &6&l%@&health% health&a.")
FILTER()
ENDIF
ELSEIF(&game = "li")
IF(&voting = "off")
SET(@&livote,off)
LOG("&aAutoVote has been &c&ldisabled&a for Lucky Islands.")
FILTER()
ELSE
SET(@&livote,on)
MATCH(%&voting%,"(.*)",&vote5,1)
IF(&vote5 = "blessed")
SET(@&mode,blessed)
ELSEIF(&vote5 = "normal")
SET(@&mode,normal)
ELSEIF(&vote5 = "crazy")
SET(@&mode,crazy)
ELSE
LOG("&cMode not found, please type /autovote help for help.")
FILTER()
ENDIF
LOG("&aThe following item will be voted for automatically in Lucky &aIslands: &6&l%@&mode% mode&a.")
FILTER()
ENDIF
ELSE
LOG("&cGame not found, please type /autovote help for help.")
FILTER()
ENDIF
ENDIF
This should be put in your OnChat event:
Code:
IFMATCHES(%CHATCLEAN%,(.*) is starting in 10 seconds.,&game,1)
IF(&game = "SkyWars")
IF(@&swvote = "on")
SLOT(2)
WAIT(300ms)
KEY(use)
WAIT(300ms)
SLOTCLICK(13)
WAIT(300ms)
IF(@&projectiles = "no throwables")
SLOTCLICK(10)
ELSEIF(@&projectiles = "normal projectiles")
SLOTCLICK(13)
ELSEIF(@&projectiles = "soft blocks")
SLOTCLICK(16)
ENDIF
GUI()
ELSE
ENDIF
ELSEIF(&game = "Team SkyWars")
IF(@&swvote = "on")
SLOT(3)
WAIT(300ms)
KEY(use)
WAIT(300ms)
SLOTCLICK(13)
WAIT(300ms)
IF(@&projectiles = "no throwables")
SLOTCLICK(10)
ELSEIF(@&projectiles = "normal projectiles")
SLOTCLICK(13)
ELSEIF(@&projectiles = "soft blocks")
SLOTCLICK(16)
ENDIF
GUI()
ELSE
ENDIF
ELSE
ENDIF
ENDIF
IFMATCHES(%CHATCLEAN%,(.*) is starting in 2 seconds.,&game1,1)
IF(&game1 = "SkyWars")
IF(@&swvote = "on")
SLOT(2)
WAIT(300ms)
KEY(use)
WAIT(300ms)
SLOTCLICK(10)
WAIT(300ms)
IF(@&chests = "basic")
SLOTCLICK(10)
ELSEIF(@&chests = "normal")
SLOTCLICK(13)
ELSEIF(@&chests = "overpowered")
SLOTCLICK(16)
ENDIF
GUI()
ELSEIF(@&swvote = "off")
ENDIF
ELSEIF(&game1 = "Team SkyWars")
IF(@&swvote = "on")
SLOT(3)
WAIT(300ms)
KEY(use)
WAIT(300ms)
SLOTCLICK(10)
WAIT(300ms)
IF(@&chests = "basic")
SLOTCLICK(10)
ELSEIF(@&chests = "normal")
SLOTCLICK(13)
ELSEIF(@&chests = "overpowered")
SLOTCLICK(16)
ENDIF
GUI()
ELSEIF(@&swvote = "off")
ENDIF
ELSEIF(&game1 = "EggWars")
IF(@&ewvote = "on")
GETSLOT(end_crystal,#slot)
IF(#slot=3)
SLOT(3)
ELSE
SLOT(2)
ENDIF
WAIT(300ms)
KEY(use)
WAIT(300ms)
SLOTCLICK(11)
WAIT(300ms)
IF(@&items = "hardcore")
SLOTCLICK(10)
ELSEIF(@&items = "normal")
SLOTCLICK(13)
ELSEIF(@&items = "overpowered")
SLOTCLICK(16)
ENDIF
WAIT(300ms)
SLOTCLICK(22)
WAIT(300ms)
SLOTCLICK(15)
WAIT(300ms)
IF(@&health = "half")
SLOTCLICK(10)
ELSEIF(@&health = "normal")
SLOTCLICK(12)
ELSEIF(@&health = "double")
SLOTCLICK(14)
ELSEIF(@&health = "triple")
SLOTCLICK(16)
ENDIF
GUI()
ELSEIF(@&ewvote = "off")
ENDIF
ELSEIF(&game1 = "Lucky Islands")
IF(@&livote = "on")
GETSLOT(end_crystal,#slot)
IF(#slot=3)
SLOT(3)
ELSE
SLOT(2)
ENDIF
WAIT(300ms)
KEY(use)
WAIT(300ms)
SLOTCLICK(11)
WAIT(300ms)
IF(@&mode = "blessed")
SLOTCLICK(10)
ELSEIF(@&mode = "normal")
SLOTCLICK(13)
ELSEIF(@&mode = "crazy")
SLOTCLICK(16)
ENDIF
GUI()
ELSEIF(@&livote = "off")
ENDIF
ENDIF
ENDIF
If you don't know how to use this / want to know how it works, feel free to message me on discord - spuni#6101