View difference between Paste ID: 20cKu4LY and i6RBYbVv
SHOW: | | - or go back to the newest paste.
1
#SingleInstance, force
2
Menu, Tray, NoStandard ;removes tray buttons
3
Menu, Tray, Add , Help, help ;adds help button
4
Menu, Tray, Add , Exit, Exi ;adds exit button
5-
$F2::Send, tReason?{ENTER} ;Asks for reason
5+
6
Autoexec:
7
Process, wait, client.exe
8
SetKeyDelay 50, 50, ;antispam ^^
9
$F1::Send, t/y{ENTER} ;Vote on Yes
10
$F2::Send, tReason?{ENTER} ;Asks for reason
11
$F3::Send, t/cancel{ENTER} ;Cancels vote
12
$F4::Send, t/streak?{ENTER} ;Shows current kill-streak
13
$F5::Send, t/Airstrike{SPACE} ;Fast air-strike
14
$F6::Send, t/Squad{SPACE}  ;Fast Squad
15
$H::Send, t/medkit{ENTER}  ;Fast Medkit
16
Process, WaitClose, client.exe ; waits for "client.exe" to close
17
  Exitapp ; after "client.exe" is closed, script closes itself
18
return
19
20
Help:
21
Gui, Add, Edit, w500 h500 ReadOnly,AFTER YOU CLOSE THIS WINDOW, RE-OPEN EASYVOTE.`nControls:`nF1 - Vote on Yes`nF2 - Ask for reason`nF3 - Cancel Vote`nF4 - Shows current killstreak`nF5 - Types /airstrike`nF6 - Types /streak`n`H - Fast /medkitn`nVersion history:`nV2`n-Added Help page`n-Adeed new commands`n`n__________`nEasyVote for Ace of Spades`nBy Faith`n`n`nMore info and latest version at:`nhttp://ace-spades.com/forums/viewtopic.php?f=75&t=3163
22
Gui, Show
23
return
24
GuiClose:
25
 ExitApp
26
return
27
28
29
Exi: ;exit sub
30
ExitApp ;exit