Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Download newest version at http://pastebin.com/dd9a5c1B. Features no more announcements, adjustable F9-time, omitted 0-hour, moddable objective names and cleaned up code, courtesy of pacov and me.
- ;Created by unknown, modded by theMizzler
- ;Download AutoHotkey at http://www.autohotkey.com/download/
- ;KEYBINDS
- ;F9 = Reset game timer to 15 seconds(Use this after 15 seconds ingame)
- ;F10 = Stop all timers (Use this when you finish the game our you will have random announcements type on whatever window is open)
- ;F1 = OUR BLUE
- ;F2 = OUR RED
- ;F3 = THEIR BLUE
- ;F4 = THEIR RED
- ;F5 = DRAGON
- ;F6 = BARON NASH
- #Persistent
- S = 0
- M = 0
- H = 0
- ~F1::
- tH := H
- tM := M + 5
- tS := S
- if tM > 60
- {
- tH:= H + 1
- tM := tM - 60
- }
- zM := ""
- zS := ""
- if tM < 10
- zM := "0"
- if tS < 10
- zS := "0"
- Chat("0" . tH . ":" . zM . tM . ":" . zS . tS . " our Blue")
- SetTimer, OurBlue, -240000
- return
- ~F2::
- tH := H
- tM := M + 5
- tS := S
- if tM > 60
- {
- tH:= H + 1
- tM := tM - 60
- }
- zM := ""
- zS := ""
- if tM < 10
- zM := "0"
- if tS < 10
- zS := "0"
- Chat("0" . tH . ":" . zM . tM . ":" . zS . tS . " our Red")
- SetTimer, OurRed, -240000
- return
- ~F3::
- tH := H
- tM := M + 5
- tS := S
- if tM > 60
- {
- tH:= H + 1
- tM := tM - 60
- }
- zM := ""
- zS := ""
- if tM < 10
- zM := "0"
- if tS < 10
- zS := "0"
- Chat("0" . tH . ":" . zM . tM . ":" . zS . tS . " their Blue")
- SetTimer, TheirBlue, -240000
- return
- ~F4::
- tH := H
- tM := M + 5
- tS := S
- if tM > 60
- {
- tH:= H + 1
- tM := tM - 60
- }
- zM := ""
- zS := ""
- if tM < 10
- zM := "0"
- if tS < 10
- zS := "0"
- Chat("0" . tH . ":" . zM . tM . ":" . zS . tS . " their Red")
- SetTimer, TheirRed, -240000
- return
- ~F5::
- tH := H
- tM := M + 6
- tS := S
- if tM > 60
- {
- tH:= H + 1
- tM := tM - 60
- }
- zM := ""
- zS := ""
- if tM < 10
- zM := "0"
- if tS < 10
- zS := "0"
- Chat("0" . tH . ":" . zM . tM . ":" . zS . tS . " Drake")
- SetTimer, Drake, -300000
- return
- ~F6::
- tH := H
- tM := M + 7
- tS := S
- if tM > 60
- {
- tH:= H + 1
- tM := tM - 60
- }
- zM := ""
- zS := ""
- if tM < 10
- zM := "0"
- if tS < 10
- zS := "0"
- Chat("0" . tH . ":" . zM . tM . ":" . zS . tS . " Baron")
- SetTimer, Baron, -360000
- return
- ~F9::
- MsgBox, 0x40000, JungleTimer, JungleTimer Reset to 15 seconds, 0.75
- S = 15
- M = 0
- H = 0
- SetTimer, Update, 1000
- return
- ~F10::
- MsgBox, 0x40000, JungleTimer, JungleTimer Stopped, 0.75
- SetTimer, Update, Off
- SetTimer, OurBlue, Off
- SetTimer, OurRed, Off
- SetTimer, TheirBlue, Off
- SetTimer, TheirRed, Off
- SetTimer, Drake, Off
- SetTimer, Baron, Off
- return
- Chat(msg) {
- Send {Enter}
- sleep 50
- Send %msg%
- sleep 50
- Send {Enter}
- }
- OurBlue:
- Chat("OB in 1min")
- SetTimer, OBSpawn, -60000
- return
- OurRed:
- Chat("OR in 1min")
- SetTimer, ORSpawn, -60000
- return
- TheirBlue:
- Chat("TB in 1min")
- SetTimer, TBSpawn, -60000
- return
- TheirRed:
- Chat("TR in 1min")
- SetTimer, TRSpawn, -60000
- return
- Drake:
- Chat("Drake in 1min")
- SetTimer, DrakeSpawn, -60000
- return
- Baron:
- Chat("Baron in 1min")
- SetTimer, BaronSpawn, -60000
- return
- OBSpawn:
- Chat("OB spawned")
- return
- ORSpawn:
- Chat("OR spawned")
- return
- TBSpawn:
- Chat("TB spawned")
- return
- TRSpawn:
- Chat("TR spawned")
- return
- DrakeSpawn:
- Chat("Drake spawned")
- return
- BaronSpawn:
- Chat("Baron spawned")
- return
- Update:
- if S = 59
- {
- S := 0
- M += 1
- }
- if M = 59
- {
- M := 0
- H += 1
- }
- S += 1
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement