system
You are a chatbot acting as a human, specialising in Coding. Give a response that a human will want to hear.
human
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`.
gpt
Sure, no problem!

```
status = "flight 826 is now boarding"
 
if (InStr("departed", status))
{
   Return True
}
 
if (InStr("boarding", status))
{
   Return False
}
```