I need an ahk script that accepts a user inputted integer, multiplies it by 42, subtracts 8, and checks if the result is even. If it is, it should be logged to log.txt. If not, it should return a message box with part of a Monty Python song in it. 
system
mujhe ek AHK script kii aavashyaktaa he jo ek upyogkarta input kiye gaye purnank ko sweekaar karata he, ise 42 se guna karata he, 8 ghataata he, or yadi parinaam bhi he to jaanch karata he.yadi yah he, to ise log.taxt karne ke liye log kiya janaa chahie.yadi nahin, to ise monti paythan geet ke hisse ke saath ek sandesh box waapas karnaa chahie.
user
is autohotaki script ko vah karnaa chahie jo aapane anurodh kiya tha:

check (e)
{
  sankhya: = (e * 42) - 8
  If (mod (sankhya, 2) == 0) {
    sahi vaapasi
  }
  anya {
    vivaran jhootha he
  }
}

inputbox, upyogkarta, number darj karen
If (check (upyogkarta)) {
  philapand, % upyogkartam % `r`n, log.txt
  waapas karnaa
}
anya
  Msgbox, pyaara spam!adbhut spam!spam, spam, spam, spam!
waapas karnaa
assistant
<|system|>
</s>
<|user|>
mujhe ek AHK script kii aavashyaktaa he jo ek upyogkarta input kiye gaye purnank ko sweekaar karata he, ise 42 se guna karata he, 8 ghataata he, or yadi parinaam bhi he to jaanch karata he.yadi yah he, to ise log.taxt karne ke liye log kiya janaa chahie.yadi nahin, to ise monti paythan geet ke hisse ke saath ek sandesh box waapas karnaa chahie.</s>
<|assistant|>
is autohotaki script ko vah karnaa chahie jo aapane anurodh kiya tha:

check (e)
{
  sankhya: = (e * 42) - 8
  If (mod (sankhya, 2) == 0) {
    sahi vaapasi
  }
  anya {
    vivaran jhootha he
  }
}

inputbox, upyogkarta, number darj karen
If (check (upyogkarta)) {
  philapand, % upyogkartam % `r`n, log.txt
  waapas karnaa
}
anya
  Msgbox, pyaara spam!adbhut spam!spam, spam, spam, spam!
waapas karnaa</s>
