I want an ahk script that compares a string. If the word "departed" is present, return `True`, if "boarding" is present return `False`. Store the string in a variable called `status`.
system
mujhe ek AHK script chahie jo ek string kii tulana karti he.yadi shabd "divangat" maujuud he, to 'tru' lauten, yadi "boarding" vartmaan main `galat 'he.string ko `sthiti` naamak ek char main store karen.
user
jarur koi baat nahin!

`` `
sthiti = "udaan 826 ab boarding he"
 
if (inst ("divangat", sthiti)
{
   sahi vaapasi
}
 
if (instre ("boarding", sthiti)
{
   vivaran jhootha he
}
`` `
assistant
<|system|>
</s>
<|user|>
mujhe ek AHK script chahie jo ek string kii tulana karti he.yadi shabd "divangat" maujuud he, to 'tru' lauten, yadi "boarding" vartmaan main `galat 'he.string ko `sthiti` naamak ek char main store karen.</s>
<|assistant|>
jarur koi baat nahin!

`` `
sthiti = "udaan 826 ab boarding he"
 
if (inst ("divangat", sthiti)
{
   sahi vaapasi
}
 
if (instre ("boarding", sthiti)
{
   vivaran jhootha he
}
`` `</s>
