idar
0
Q:

if else autohotkey

i=0						;make a variable (i) with the value 0
if (i=1) {				;when the variable i is 1
MsgBox, i is now %i%	;give a messagebox that i is the value of i (in this case 1)
} Else {				;if i is anything else than 1
}						;do nothing
;This code will never show the messagebox because i is never going to be 1
0

New to Communities?

Join the community