Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $rules="These are the Rules[...]";Definition for Rules
- $startinfo="Quickfire Starts in";Definition for startinfo
- $moreinfo="More Info goes here!";More Info goes here
- HotKeySet("{ESC}", "HotKeyPressed");Set ESC to call the Function
- HotKeySet("{F1}", "HotKeyPressed");Set F1 to call the Function
- $minuteInput=InputBox("Quickfire Tool?", "Time till Quickfire starts ? (in Minutes)");When does Quickfire start? in XXX Minutes
- Func HotKeyPressed()
- Switch @HotKeyPressed ; The last hotkey pressed.
- Case "{ESC}"
- Exit;Exits the Program
- Case "{F1}"
- ClipPut($rules);Insert Rules to Clipboard with F1
- EndSwitch
- EndFunc ;==>HotKeyPressed
- while $minuteInput>0 ;if the Minutes are bigger than 1 minute
- Sleep(60000);Wait 60 Seconds
- ClipPut($startinfo & " " & $minuteInput & " Minutes" & " " & $moreinfo ) ; e.g Quickfire Starts in 30 Minutes More Info goes here!
- $minuteInput=$minuteInput-1;substract 1 from the remaining Minutes
- WEnd
Add Comment
Please, Sign In to add comment